This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
ffm: do not write or read the audio sample format
tags/n1.1
Justin Ruggles
12 years ago
parent
6221e2478c
commit
11dcddb97b
3 changed files
with
1 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+0
-1
libavformat/ffmdec.c
+0
-1
libavformat/ffmenc.c
+1
-1
tests/ref/lavf/ffm
+ 0
- 1
libavformat/ffmdec.c
View File
@@ -354,7 +354,6 @@ static int ffm_read_header(AVFormatContext *s)
codec->sample_rate = avio_rb32(pb);
codec->channels = avio_rl16(pb);
codec->frame_size = avio_rl16(pb);
codec->sample_fmt = (int16_t) avio_rl16(pb);
break;
default:
goto fail;
+ 0
- 1
libavformat/ffmenc.c
View File
@@ -170,7 +170,6 @@ static int ffm_write_header(AVFormatContext *s)
avio_wb32(pb, codec->sample_rate);
avio_wl16(pb, codec->channels);
avio_wl16(pb, codec->frame_size);
avio_wl16(pb, codec->sample_fmt);
break;
default:
return -1;
+ 1
- 1
tests/ref/lavf/ffm
View File
@@ -1,3 +1,3 @@
0063b1b49d8641dcbf354092529a58a4
*./tests/data/lavf/lavf.ffm
c5dcf5950031020864db57bbde0064df
*./tests/data/lavf/lavf.ffm
376832 ./tests/data/lavf/lavf.ffm
./tests/data/lavf/lavf.ffm CRC=0x38388ba1
Write
Preview
Loading…
Cancel
Save