aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-16 05:22:30 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-16 05:22:30 +0100
commit2d372d3a3ffb47f734c3b00a7d030e14b405043a (patch)
treef94a12cd2a80c30bf1128aec95c385522e28d066
parent31c4a1b7d0a052f9717185900e01c2500b55e51b (diff)
downloadffmpeg-2d372d3a3ffb47f734c3b00a7d030e14b405043a.tar.gz
h264: document h264_set_parameter_from_sps() re-calling behavior
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/h264.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 3dcf00a357..4d935aed15 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -1224,6 +1224,7 @@ static int decode_update_thread_context(AVCodecContext *dst,
/* copy block_offset since frame_start may not be called */
memcpy(h->block_offset, h1->block_offset, sizeof(h->block_offset));
h264_set_parameter_from_sps(h);
+ //Note we set context_reinitialized which will cause h264_set_parameter_from_sps to be reexecuted
h->cur_chroma_format_idc = h1->cur_chroma_format_idc;
}