[FFmpeg-devel] [PATCH] add avcodec_get_subtitle_defaults() to initialize AVSubtitle struct

Reimar Döffinger Reimar.Doeffinger at gmx.de
Tue Apr 5 18:26:22 CEST 2011

On Tue, Apr 05, 2011 at 10:04:33AM +0200, Aurelien Jacobs wrote:
> Call this new function before decode() to replace the custom and
> inconsistant initialization in various decoders.
> This function is equivalent to avcodec_get_frame_defaults() for AVFrame.

Any real reason to make it public?
We don't have much experience with subtitles yet, so I'd prefer if
it wasn't public - who knows what kind of issues we might detect
with it.

More information about the ffmpeg-devel mailing list