]> git.sesse.net Git - ffmpeg/commit
mpegvideo: Split picture allocation for encoding and decoding
authorVittorio Giovara <vittorio.giovara@gmail.com>
Sun, 31 May 2015 13:49:54 +0000 (15:49 +0200)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 8 Jun 2015 11:39:42 +0000 (12:39 +0100)
commit9bb11be0e5a75782c3139ad058c2b571499aa37d
treef7d1cc610fe5dead993d5869d19eea7217413a4b
parentf8716a1408f4f4ec63857b7015fbd62f9eac344a
mpegvideo: Split picture allocation for encoding and decoding

The main ff_alloc_picture() function is made more generic with all the
parameters necessary as arguments. This will allows to move most of the
related functions to a separate file later.

Right now wrappers are provided to try and minimize the number of
changes in the code.
libavcodec/mpegvideo.c
libavcodec/mpegvideo.h
libavcodec/mpegvideo_enc.c