aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h264_mp4toannexb_bsf.c
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-10-25 18:50:26 +0200
committerClément Bœsch <ubitux@gmail.com>2012-10-26 21:48:27 +0200
commiteb36ee1ee11c269e24ad4595fadf50e78463d5e2 (patch)
tree2d6c8d4431d5d897a10a3fd7901090a77b0cc6f6 /libavcodec/h264_mp4toannexb_bsf.c
parent5b45b66220ffdf37619dbd70e41df31651db3f93 (diff)
downloadffmpeg-eb36ee1ee11c269e24ad4595fadf50e78463d5e2.tar.gz
lavc/srtenc: fix invalid read in case of SubRip.
Regression since 6057de19b. The ptr-2 is used to eat the \r\n and add the position information on the timing line. This can't be done in case of SubRip where the timing isn't present in the payload. Note that we can't use yet the side data to transmit the position information since the encode subtitles API is still using buffer+size instead AVPacket as input.
Diffstat (limited to 'libavcodec/h264_mp4toannexb_bsf.c')
0 files changed, 0 insertions, 0 deletions