[FFmpeg-cvslog] Revert "avutil/frame: Disallow zero sized frame side data"
Michael Niedermayer
git at videolan.org
Fri Mar 3 02:03:58 EET 2017
ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Wed Mar 1 13:02:11 2017 +0100| [55196e5d10af7c295352bb9a2d7565efe07ce46b] | committer: Michael Niedermayer
Revert "avutil/frame: Disallow zero sized frame side data"
Found a case where we use size==0, the other related commits
remain needed, and should be sufficient to fix the original issue
This reverts commit 7e4f32f4e4b93c95dcc872cb844c5548e69f352e.
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=55196e5d10af7c295352bb9a2d7565efe07ce46b
---
libavutil/frame.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/libavutil/frame.c b/libavutil/frame.c
index 69ee240..8811dcd 100644
--- a/libavutil/frame.c
+++ b/libavutil/frame.c
@@ -668,8 +668,6 @@ AVFrameSideData *av_frame_new_side_data(AVFrame *frame,
enum AVFrameSideDataType type,
int size)
{
- if (size <= 0)
- return NULL;
return frame_new_side_data(frame, type, av_buffer_alloc(size));
}
More information about the ffmpeg-cvslog
mailing list