From 8cfa912e250da83675f68ce5e02faf325c18d462 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Wed, 9 Dec 2015 16:47:55 +0100 Subject: [PATCH] avformat/flacdec: remove unused return code assignment Fixes CID1271811 Signed-off-by: Michael Niedermayer --- libavformat/flacdec.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/flacdec.c b/libavformat/flacdec.c index cc3ed830a9..eb92216c45 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){