OSDN Git Service

mpegvideo: 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)
commit2d1f4288dd02a624cb8b86ab06371d6434c9da69
tree083f902223c17f1f9f44aa35888e3a3657e147ea
parentb06c8bce02b15115a4789252365df2dda0c4713c
mpegvideo: 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/mpegvideo.c