Browse Source

avformat/flacdec: remove unused return code assignment

Fixes CID1271811

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.0
Michael Niedermayer 10 years ago
parent
commit
8cfa912e25
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      libavformat/flacdec.c

+ 3
- 3
libavformat/flacdec.c View File

@@ -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){


Loading…
Cancel
Save