[FFmpeg-devel] [PATCH 02/12] avcodec/sonic: Remove outdated outcommented line

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Thu Mar 25 17:49:46 EET 2021


Compilation would fail if it were outcommented as it refers to a
nonexistent PutBitContext.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
---
 libavcodec/sonic.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/sonic.c b/libavcodec/sonic.c
index 32e94d24f6..8339799dd3 100644
--- a/libavcodec/sonic.c
+++ b/libavcodec/sonic.c
@@ -832,8 +832,6 @@ static int sonic_encode_frame(AVCodecContext *avctx, AVPacket *avpkt,
             return ret;
     }
 
-//    av_log(avctx, AV_LOG_DEBUG, "used bytes: %d\n", (put_bits_count(&pb)+7)/8);
-
     avpkt->size = ff_rac_terminate(&c, 0);
     *got_packet_ptr = 1;
     return 0;
-- 
2.27.0



More information about the ffmpeg-devel mailing list