History

avformat/matroskaenc: Don't pretend to support unsupported codecs

RV10 and RV20 are unsupported because creating the correct CodecPrivate is unsupported (the demuxer uses a codecpriv_offset of 26, so one would need to recreate the missing 26 bytes); COOK and SIPR are unsupported, because Matroska uses a packetization mode that is different from what FFmpeg uses in its packets (see matroska_parse_rm_audio() in the demuxer).

Andreas Rheinhardt committed 3 years ago

Commit 4e43cdc1 parent 11623f31 file · +0 −4Browse files

Showing the changes to libavformat (1 of 1 file). Show all

Unified · Split

libavformat/matroskaenc.c+0−4
@@ -3426,15 +3426,11 @@ static const AVCodecTag additional_audio_tags[] = { · 3425 unmodified lines
3426 { AV_CODEC_ID_QDMC, 0xFFFFFFFF },3426 { AV_CODEC_ID_QDMC, 0xFFFFFFFF },
3427 { AV_CODEC_ID_QDM2, 0xFFFFFFFF },3427 { AV_CODEC_ID_QDM2, 0xFFFFFFFF },
3428 { AV_CODEC_ID_RA_144, 0xFFFFFFFF },3428 { AV_CODEC_ID_RA_144, 0xFFFFFFFF },
3429 { AV_CODEC_ID_RA_288, 0xFFFFFFFF },
3430 { AV_CODEC_ID_COOK, 0xFFFFFFFF },
3431 { AV_CODEC_ID_TRUEHD, 0xFFFFFFFF },3429 { AV_CODEC_ID_TRUEHD, 0xFFFFFFFF },
3432 { AV_CODEC_ID_NONE, 0xFFFFFFFF }3430 { AV_CODEC_ID_NONE, 0xFFFFFFFF }
3433};3431};
3434 3432
3435static const AVCodecTag additional_video_tags[] = {3433static const AVCodecTag additional_video_tags[] = {
3436 { AV_CODEC_ID_RV10, 0xFFFFFFFF },
3437 { AV_CODEC_ID_RV20, 0xFFFFFFFF },
3438 { AV_CODEC_ID_RV30, 0xFFFFFFFF },3434 { AV_CODEC_ID_RV30, 0xFFFFFFFF },
3439 { AV_CODEC_ID_NONE, 0xFFFFFFFF }3435 { AV_CODEC_ID_NONE, 0xFFFFFFFF }
3440};3436};

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t