« Previous | Next » 

Revision 3ee8ca9b

Parent c104a6e9
Child 6873cf9b

Added by Aurelien Jacobs about 10 years ago

add avcodec_get_subtitle_defaults() to initialize AVSubtitle struct

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.

Signed-off-by: Aurelien Jacobs <>


  • added
  • modified
  • copied
  • renamed
  • deleted

View differences