avutil/frame: fix av_frame_copy for unknown layouts
authorMarton Balint <cus@passwd.hu>
Mon, 30 Jan 2017 00:33:18 +0000 (01:33 +0100)
committerMarton Balint <cus@passwd.hu>
Mon, 30 Jan 2017 23:29:49 +0000 (00:29 +0100)
commitd25769555bb3e73c811da05d309856883ff41a9f
tree5de05f63a27d6d848ef5efa221632676ac37d2b1
parent06c143e505779efbc1d0b551b2615f010d5eb6fa
avutil/frame: fix av_frame_copy for unknown layouts

I wonder how unknown layouts ever worked without this?

Reviewed-by: Nicolas George <george@nsup.org>
Reviewed-by: Hendrik Leppkes <h.leppkes@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
libavutil/frame.c