diff mbox series

[FFmpeg-devel,2/2] avcodec/vp9: indent

Message ID 30a83210fffd10bba97d0b0385da03b8ccd63bf8.1586068235.git.pross@xvid.org
State New
Headers show
Series [FFmpeg-devel,1/2] avcodec/vp9: prevent null pointer use on init_frames() failure
Related show

Checks

Context Check Description
andriy/ffmpeg-patchwork pending
andriy/ffmpeg-patchwork success Applied patch
andriy/ffmpeg-patchwork success Configure finished
andriy/ffmpeg-patchwork success Make finished
andriy/ffmpeg-patchwork success Make fate finished

Commit Message

Peter Ross April 5, 2020, 6:32 a.m. UTC
---
 libavcodec/vp9.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
diff mbox series

Patch

diff --git a/libavcodec/vp9.c b/libavcodec/vp9.c
index c125e22975..4f7cc4fc75 100644
--- a/libavcodec/vp9.c
+++ b/libavcodec/vp9.c
@@ -1225,14 +1225,14 @@  static av_cold int vp9_decode_free(AVCodecContext *avctx)
     av_buffer_pool_uninit(&s->frame_extradata_pool);
     for (i = 0; i < 8; i++) {
         if (s->s.refs[i].f) {
-        if (s->s.refs[i].f->buf[0])
-            ff_thread_release_buffer(avctx, &s->s.refs[i]);
-        av_frame_free(&s->s.refs[i].f);
+            if (s->s.refs[i].f->buf[0])
+                ff_thread_release_buffer(avctx, &s->s.refs[i]);
+            av_frame_free(&s->s.refs[i].f);
         }
         if (s->next_refs[i].f) {
-        if (s->next_refs[i].f->buf[0])
-            ff_thread_release_buffer(avctx, &s->next_refs[i]);
-        av_frame_free(&s->next_refs[i].f);
+            if (s->next_refs[i].f->buf[0])
+                ff_thread_release_buffer(avctx, &s->next_refs[i]);
+            av_frame_free(&s->next_refs[i].f);
         }
     }