You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	ircamenc: 10l do not use avio_skip()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
		| @@ -21,6 +21,7 @@ | ||||
|  | ||||
| #include "libavutil/intreadwrite.h" | ||||
| #include "avformat.h" | ||||
| #include "avio_internal.h" | ||||
| #include "internal.h" | ||||
| #include "rawenc.h" | ||||
| #include "ircam.h" | ||||
| @@ -45,7 +46,7 @@ static int ircam_write_header(AVFormatContext *s) | ||||
|     avio_wl32(s->pb, av_float2int(codec->sample_rate)); | ||||
|     avio_wl32(s->pb, codec->channels); | ||||
|     avio_wl32(s->pb, tag); | ||||
|     avio_skip(s->pb, 1008); | ||||
|     ffio_fill(s->pb, 0, 1008); | ||||
|     return 0; | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -1,3 +1,3 @@ | ||||
| 26f9c402de811b0434b09aa1a2e5eee3 *./tests/data/lavf/lavf.ircam | ||||
| 2cfae025de1b13098ef84a5e7f9947aa *./tests/data/lavf/lavf.ircam | ||||
| 91136 ./tests/data/lavf/lavf.ircam | ||||
| ./tests/data/lavf/lavf.ircam CRC=0xf1ae5536 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user