Browse Source

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 7e4f32f4e4.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.3
Michael Niedermayer 8 years ago
parent
commit
55196e5d10
1 changed files with 0 additions and 2 deletions
  1. +0
    -2
      libavutil/frame.c

+ 0
- 2
libavutil/frame.c View File

@@ -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));
}


Loading…
Cancel
Save