Changeset d6604b29 in ffmpeg

Timestamp:
Jul 20, 2015, 1:16:15 PM (9 years ago)
Author:
Vittorio Giovara <vittorio.giovara@gmail.com>
Branches:
master
Children:
5d3addb, b1fad7ac
Parents:
91f9b657
git-author:
Vittorio Giovara <vittorio.giovara@gmail.com> (07/15/15 17:41:20)
git-committer:
Vittorio Giovara <vittorio.giovara@gmail.com> (07/20/15 13:16:15)
Message:

Gather all coded_frame allocations and free functions to a single place

Allocating coded_frame is what most encoders do anyway, so it makes
sense to always allocate and free it in a single place. Moreover a lot
of encoders freed the frame with av_freep() instead of the correct API
av_frame_free().

This bring uniformity to encoder behaviour and prevents applications
from erroneusly accessing this field when not allocated. Additionally
this helps isolating encoders that export information with coded_frame,
and heavily simplifies its deprecation.

Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>

(No files)

Note: See TracChangeset for help on using the changeset viewer.