diff options
author | Kacper Michajłow <kasper93@gmail.com> | 2025-08-01 23:49:50 +0200 |
---|---|---|
committer | Kacper Michajłow <kasper93@gmail.com> | 2025-08-03 17:27:35 +0000 |
commit | 5c95e8e3a6fff002294ce1684d6c349cb51f6673 (patch) | |
tree | 6d2be59ad0b8a7e62ffae01ff2bd459da22c24d0 /doc/examples/resample_audio.c | |
parent | 5bd7003e81c30914e8adfe46b3ab85ba99e42d0f (diff) | |
download | ffmpeg-5c95e8e3a6fff002294ce1684d6c349cb51f6673.tar.gz |
avcodec/srtenc: don't produce SRT files with mixed line endings
Initially, avcodec/srtenc.c was outputting CRLF [1]. Later, a real SRT
muxer was added [2], which outputs LF. The original srtenc.c was
converted to use the muxer [3], changing its output to LF, except for
newline characters within subtitle text.
Fix this to avoid producing SRT files with mixed line endings.
[1] 8e43b6fed905eb30ae941a3968825d88c78d5a12
[2] 9e63c30daa8bfde52c534027ce984e8cf3f200c3
[3] 55180b3299c61e5e3d16f1e9ea58dba8b787cc8e
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
Diffstat (limited to 'doc/examples/resample_audio.c')
0 files changed, 0 insertions, 0 deletions