aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/pcm-bluray.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2014-10-03 20:49:01 +0300
committerMartin Storsjö <martin@martin.st>2014-10-06 23:29:58 +0300
commitb76249443864c88ffb2d41ab8d1de7432e985dc7 (patch)
tree4b5ce2a65a57546268a1387570192d057ca50d15 /libavcodec/pcm-bluray.c
parent153fadc390d05aa47e5e2c56290401898fe41a23 (diff)
downloadffmpeg-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 'libavcodec/pcm-bluray.c')
0 files changed, 0 insertions, 0 deletions