cavs: deMpegEncContextize
commit7d8482640058d66867602a6f58446c9342d9d146
authorAnton Khirnov <anton@khirnov.net>
Thu, 27 Dec 2012 16:12:10 +0000 (27 17:12 +0100)
committerAnton Khirnov <anton@khirnov.net>
Sun, 30 Dec 2012 17:48:11 +0000 (30 18:48 +0100)
tree852375c0392b027280299cede76ccd045217690f
parent64bb3fa6b7f5b2db22b7577585d5861be24eebd8
cavs: deMpegEncContextize

It does not use any of the mpegvideo infrastructure, just a few fields
from the context.

Fixes a segfault with the emu edge flag, since emu edge buffer is now
allocated as a part of the frame buffer allocation and cavs calls
ff_get_buffer() directly, it does not use mpegvideo buffer management.

Fixes a memleak of the last frame.
libavcodec/cavs.c
libavcodec/cavs.h
libavcodec/cavsdec.c