[FFmpeg-cvslog] avformat/flacdec: remove unused return code assignment

Michael Niedermayer git at videolan.org
Wed Dec 9 16:57:38 CET 2015


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Wed Dec  9 16:47:55 2015 +0100| [8cfa912e250da83675f68ce5e02faf325c18d462] | committer: Michael Niedermayer

avformat/flacdec: remove unused return code assignment

Fixes CID1271811

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8cfa912e250da83675f68ce5e02faf325c18d462
---

 libavformat/flacdec.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libavformat/flacdec.c b/libavformat/flacdec.c
index cc3ed83..eb92216 100644
--- a/libavformat/flacdec.c
+++ b/libavformat/flacdec.c
@@ -263,9 +263,9 @@ static av_unused int64_t flac_read_timestamp(AVFormatContext *s, int stream_inde
                 break;
         }
         av_init_packet(&out_pkt);
-        ret = av_parser_parse2(parser, st->codec,
-                               &out_pkt.data, &out_pkt.size, pkt.data, pkt.size,
-                               pkt.pts, pkt.dts, *ppos);
+        av_parser_parse2(parser, st->codec,
+                         &out_pkt.data, &out_pkt.size, pkt.data, pkt.size,
+                         pkt.pts, pkt.dts, *ppos);
 
         av_packet_unref(&pkt);
         if (out_pkt.size){



More information about the ffmpeg-cvslog mailing list