Commit 8cfa912e authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/flacdec: remove unused return code assignment

Fixes CID1271811
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent e6971db1
......@@ -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){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment