diff options
author | Martin Storsjö <martin@martin.st> | 2014-10-03 20:49:01 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2014-10-06 23:29:58 +0300 |
commit | b76249443864c88ffb2d41ab8d1de7432e985dc7 (patch) | |
tree | 4b5ce2a65a57546268a1387570192d057ca50d15 /libavdevice/avdevice.c | |
parent | 153fadc390d05aa47e5e2c56290401898fe41a23 (diff) | |
download | ffmpeg-b76249443864c88ffb2d41ab8d1de7432e985dc7.tar.gz |
sdp: Simplify parsing/conversion of H264 extradata
By using ff_avc_write_annexb_extradata instead of the h264_mp4toannexb
BSF, the code for doing the conversion itself is kept much shorter,
there's less state to restore at the end, we don't risk leaving the
AVCodecContext in an inconsistent state if returning early due to
errors, etc.
Also add a missing free if the base64 encoding fails.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavdevice/avdevice.c')
0 files changed, 0 insertions, 0 deletions