[FFmpeg-soc] [PATCH] fmtp cleanup

Martin Storsjö martin at martin.st
Mon Jun 28 22:37:31 CEST 2010


On Mon, 28 Jun 2010, Josh Allmann wrote:

> Corrected in the Xiph and AMR patches.

Applied with a few minor changes:

- Allocated an extra byte for the null terminator in the value buffer in 
  ff_parse_fmtp. (On second thought, though, it shouldn't ever be needed, 
  so this point is moot)
- Moved the checking of the AMR fmtp parameters to after parsing the whole 
  line, instead of checking again after each item.
- You can't use an AVStream as av_log context, it doesn't have an AVClass

// Martin


More information about the FFmpeg-soc mailing list