diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-03-21 16:10:31 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-03-21 16:10:31 +0100 |
commit | db4234c5002fc0ac7ecae323874b97a4547ae0c3 (patch) | |
tree | e1953f9959ad4bde6e5a2240a81d42673ac6b83b /libavcodec/h264_slice.c | |
parent | 70eec8f432dcee5b9867ba01a26436a04a9a0423 (diff) | |
parent | 07c5ca551b7327d3c4e33738cc0cd2d5ac2779fa (diff) | |
download | ffmpeg-db4234c5002fc0ac7ecae323874b97a4547ae0c3.tar.gz |
Merge commit '07c5ca551b7327d3c4e33738cc0cd2d5ac2779fa'
* commit '07c5ca551b7327d3c4e33738cc0cd2d5ac2779fa':
h264: move is_complex into the per-slice context
Conflicts:
libavcodec/h264_slice.c
libavcodec/svq3.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264_slice.c')
-rw-r--r-- | libavcodec/h264_slice.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/h264_slice.c b/libavcodec/h264_slice.c index 71a55336d9..d0f8dbc686 100644 --- a/libavcodec/h264_slice.c +++ b/libavcodec/h264_slice.c @@ -2404,9 +2404,9 @@ static int decode_slice(struct AVCodecContext *avctx, void *arg) av_assert0(h->block_offset[15] == (4 * ((scan8[15] - scan8[0]) & 7) << h->pixel_shift) + 4 * h->linesize * ((scan8[15] - scan8[0]) >> 3)); - h->is_complex = FRAME_MBAFF(h) || h->picture_structure != PICT_FRAME || - avctx->codec_id != AV_CODEC_ID_H264 || - (CONFIG_GRAY && (h->flags & CODEC_FLAG_GRAY)); + sl->is_complex = FRAME_MBAFF(h) || h->picture_structure != PICT_FRAME || + avctx->codec_id != AV_CODEC_ID_H264 || + (CONFIG_GRAY && (h->flags & CODEC_FLAG_GRAY)); if (!(h->avctx->active_thread_type & FF_THREAD_SLICE) && h->picture_structure == PICT_FRAME && h->er.error_status_table) { const int start_i = av_clip(h->resync_mb_x + h->resync_mb_y * h->mb_width, 0, h->mb_num - 1); |