summaryrefslogtreecommitdiff
path: root/libavformat/flacdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-12-09 16:47:55 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2015-12-09 16:47:55 +0100
commit8cfa912e250da83675f68ce5e02faf325c18d462 (patch)
tree151e94f954fb3492ed641da8b7814e85eaed970b /libavformat/flacdec.c
parente6971db12b8ae49712b77378fa8141de4904082b (diff)
avformat/flacdec: remove unused return code assignment
Fixes CID1271811 Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat/flacdec.c')
-rw-r--r--libavformat/flacdec.c6
1 files 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){