OSDN Git Service

h264: call av_frame_unref() instead of avcodec_get_frame_defaults().
authorAnton Khirnov <anton@khirnov.net>
Mon, 9 Dec 2013 10:51:31 +0000 (11:51 +0100)
committerAnton Khirnov <anton@khirnov.net>
Wed, 11 Dec 2013 19:39:55 +0000 (20:39 +0100)
commit598ce4ab4f1893e0661fc038101487e511937877
tree7bd41606b56a420f9a0ccff22006beb320776b49
parent48d17ee6dc2b2a552f645484f200c2946bf24607
h264: call av_frame_unref() instead of avcodec_get_frame_defaults().

This is a temporary workaround to allow deprecating
avcodec_get_frame_defaults(). The proper solution will be using a
properly allocated AVFrame in Picture.
libavcodec/h264.c