It is not used inside lavc anywhere and now it makes no sense to export
it.
---
 libavcodec/error_resilience.c |    1 -
 libavcodec/h264.c             |    1 -
 libavcodec/svq3.c             |    1 -
 3 files changed, 3 deletions(-)

diff --git a/libavcodec/error_resilience.c b/libavcodec/error_resilience.c
index 78921e3..feef3a8 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 9533089..c25c8f7 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -306,7 +306,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 cec067e..d9f3c15 100644
--- a/libavcodec/svq3.c
+++ b/libavcodec/svq3.c
@@ -1056,7 +1056,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,
-- 
1.7.10.4

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to