Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-06-01 17:32:50 +0400
committerMichael Niedermayer <michaelni@gmx.at>2014-06-01 17:32:50 +0400
commita87685d8e8c13b6339412f99f08a419681e5ced5 (patch)
treed3a50043a99f5dc6a86cd70d28e322f56f1d5d7a /ffmpeg.c
parent921d5ae3bcff07acb88d2e2767047c6b942c31bc (diff)
ffmpeg: add note about why has_b_frame is copied and when it can be removed
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r--ffmpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffmpeg.c b/ffmpeg.c
index 2252280241..caa6cff14b 100644
--- a/ffmpeg.c
+++ b/ffmpeg.c
@@ -1856,7 +1856,7 @@ static int decode_video(InputStream *ist, AVPacket *pkt, int *got_output)
ret = avcodec_decode_video2(ist->dec_ctx,
decoded_frame, got_output, pkt);
update_benchmark("decode_video %d.%d", ist->file_index, ist->st->index);
- ist->st->codec->has_b_frames = ist->dec_ctx->has_b_frames;
+ ist->st->codec->has_b_frames = ist->dec_ctx->has_b_frames; //FIXME remove this once all AVParsers set it correctly
if (*got_output || ret<0 || pkt->size)
decode_error_stat[ret<0] ++;