diff --git a/ffmpeg.c b/ffmpeg.c index 4e51c4d7d2460006b13c8ff9d73c1f7778ba94db..69ee42769c4aa21bb4dc5e591e9440c59d7c0a1c 100644 --- a/ffmpeg.c +++ b/ffmpeg.c @@ -1495,8 +1495,8 @@ static int output_packet(AVInputStream *ist, int ist_index, //FIXME remove the following 2 lines they shall be replaced by the bitstream filters if(ost->st->codec->codec_id != CODEC_ID_H264) { - if(av_parser_change(ist->st->parser, ost->st->codec, &opkt.data, &opkt.size, data_buf, data_size, pkt->flags & PKT_FLAG_KEY)) - opkt.destruct= av_destruct_packet; + if(av_parser_change(ist->st->parser, ost->st->codec, &opkt.data, &opkt.size, data_buf, data_size, pkt->flags & PKT_FLAG_KEY)) + opkt.destruct= av_destruct_packet; } else { opkt.data = data_buf; opkt.size = data_size;