diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-02-15 17:29:16 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-03-08 07:41:14 +0100 |
commit | ddcca4ba074aa537c3059c76d69eb4ad6316bfe9 (patch) | |
tree | 8a96716475d71ea776e039751260f90aec67c2a9 | |
parent | e7bbfc4242ae8b818ae41be752b9d288ff2801f0 (diff) | |
download | ffmpeg-ddcca4ba074aa537c3059c76d69eb4ad6316bfe9.tar.gz |
lavc: stop setting AVFrame.motion_subsample_log2
It is not used inside lavc anywhere and now it makes no sense to export
it.
-rw-r--r-- | libavcodec/error_resilience.c | 1 | ||||
-rw-r--r-- | libavcodec/h264.c | 1 | ||||
-rw-r--r-- | libavcodec/svq3.c | 1 |
3 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/error_resilience.c b/libavcodec/error_resilience.c index 78921e3fcf..feef3a8682 100644 --- a/libavcodec/error_resilience.c +++ b/libavcodec/error_resilience.c @@ -851,7 +851,6 @@ void ff_er_frame_end(ERContext *s) } return; } - s->cur_pic->f.motion_subsample_log2 = 3; } if (s->avctx->debug & FF_DEBUG_ER) { diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 498f611a97..f2f37c865e 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -360,7 +360,6 @@ static int alloc_picture(H264Context *h, Picture *pic) pic->motion_val[i] = (int16_t (*)[2])pic->motion_val_buf[i]->data + 4; pic->ref_index[i] = pic->ref_index_buf[i]->data; } - pic->f.motion_subsample_log2 = 2; return 0; fail: diff --git a/libavcodec/svq3.c b/libavcodec/svq3.c index f9d8d46d01..1ea99d15a6 100644 --- a/libavcodec/svq3.c +++ b/libavcodec/svq3.c @@ -1058,7 +1058,6 @@ static int get_buffer(AVCodecContext *avctx, Picture *pic) pic->ref_index[i] = pic->ref_index_buf[i]->data; } } - pic->f.motion_subsample_log2 = 2; pic->reference = !(h->pict_type == AV_PICTURE_TYPE_B); ret = ff_get_buffer(avctx, &pic->f, |