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

Peter Ross pross at xvid.org
Sun Apr 5 09:32:13 EEST 2020


---
 libavcodec/vp9.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

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);
         }
     }
 
-- 
2.20.1

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200405/ecad3a2d/attachment.sig>


More information about the ffmpeg-devel mailing list