X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavutil%2Fframe.h;h=ccc86d72c53f1e210fd454f9ff89be1af6b11218;hb=54e2e9fbc15e7c652576d12b01512dbe9010cdf8;hp=6587439ab1268145e4de05f19401bfeeb52ef32f;hpb=c08e523586b6be36bee3f73d609733cd80a57674;p=ffmpeg diff --git a/libavutil/frame.h b/libavutil/frame.h index 6587439ab12..ccc86d72c53 100644 --- a/libavutil/frame.h +++ b/libavutil/frame.h @@ -283,7 +283,6 @@ typedef struct AVFrame { * motion_val[direction][x + y*mv_stride][0->mv_x, 1->mv_y]; * @endcode */ - attribute_deprecated int16_t (*motion_val[2])[2]; /** @@ -380,7 +379,6 @@ typedef struct AVFrame { * log2 of the size of the block which a single vector in motion_val represents: * (4->16x16, 3->8x8, 2-> 4x4, 1-> 2x2) */ - attribute_deprecated uint8_t motion_subsample_log2; #endif @@ -730,6 +728,12 @@ AVFrameSideData *av_frame_new_side_data(AVFrame *frame, AVFrameSideData *av_frame_get_side_data(const AVFrame *frame, enum AVFrameSideDataType type); +/** + * If side data of the supplied type exists in the frame, free it and remove it + * from the frame. + */ +void av_frame_remove_side_data(AVFrame *frame, enum AVFrameSideDataType type); + /** * @} */