diff options
author | Piotr Bandurski <ami_stuff@o2.pl> | 2012-08-05 23:58:10 +0200 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-08-05 23:58:10 +0200 |
commit | 5d2f89a23c83c690628eb7e045f2271afdfb2ee2 (patch) | |
tree | d6ef15ebe4a01cff58e45047348c6a6baf6cc43f /libavformat/movenc.c | |
parent | b4780d03d04d402b490be21b01ec886565cabe29 (diff) |
movenc: fix remuxing of svq3
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r-- | libavformat/movenc.c | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 910b9d4728..cd8d8f1c3b 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -712,19 +712,6 @@ static int mov_write_d263_tag(AVIOContext *pb) return 0xf; } -/* TODO: No idea about these values */ -static int mov_write_svq3_tag(AVIOContext *pb) -{ - avio_wb32(pb, 0x15); - ffio_wfourcc(pb, "SMI "); - ffio_wfourcc(pb, "SEQH"); - avio_wb32(pb, 0x5); - avio_wb32(pb, 0xe2c0211d); - avio_wb32(pb, 0xc0000000); - avio_w8(pb, 0); - return 0x15; -} - static int mov_write_avcc_tag(AVIOContext *pb, MOVTrack *track) { int64_t pos = avio_tell(pb); @@ -1071,9 +1058,8 @@ static int mov_write_video_tag(AVIOContext *pb, MOVTrack *track) mov_write_esds_tag(pb, track); else if(track->enc->codec_id == CODEC_ID_H263) mov_write_d263_tag(pb); - else if(track->enc->codec_id == CODEC_ID_SVQ3) - mov_write_svq3_tag(pb); - else if(track->enc->codec_id == CODEC_ID_AVUI) { + else if(track->enc->codec_id == CODEC_ID_AVUI || + track->enc->codec_id == CODEC_ID_SVQ3) { mov_write_extradata_tag(pb, track); avio_wb32(pb, 0); } else if(track->enc->codec_id == CODEC_ID_DNXHD) |