[FFmpeg-cvslog] h264: remove reschange blocking
Michael Niedermayer
git at videolan.org
Wed Dec 19 21:52:19 CET 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Dec 19 20:11:41 2012 +0100| [e33811bd2686411233cb0eb4a4ee45eb99d7e736] | committer: Michael Niedermayer
h264: remove reschange blocking
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e33811bd2686411233cb0eb4a4ee45eb99d7e736
---
libavcodec/h264.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index cb19617..b63fe9c 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -2743,11 +2743,6 @@ static int decode_slice_header(H264Context *h, H264Context *h0)
|| h->cur_chroma_format_idc != h->sps.chroma_format_idc
|| av_cmp_q(h->sps.sar, s->avctx->sample_aspect_ratio)));
- if(must_reinit && (h != h0 || (s->avctx->active_thread_type & FF_THREAD_FRAME))) {
- av_log_missing_feature(s->avctx,
- "Width/height/bit depth/chroma idc changing with threads", 0);
- return AVERROR_PATCHWELCOME; // width / height changed during parallelized decoding
- }
s->mb_width = h->sps.mb_width;
s->mb_height = h->sps.mb_height * (2 - h->sps.frame_mbs_only_flag);
More information about the ffmpeg-cvslog
mailing list