diff mbox

[FFmpeg-devel,1/3] lavf: add avs2 fourcc

Message ID 1527435517-10557-1-git-send-email-hwrenx@126.com
State Superseded
Headers show

Commit Message

hwren May 27, 2018, 3:38 p.m. UTC
Signed-off-by: hwren <hwrenx@126.com>
---
 libavformat/riff.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Michael Niedermayer May 28, 2018, 9:25 p.m. UTC | #1
On Sun, May 27, 2018 at 11:38:37PM +0800, hwren wrote:
> Signed-off-by: hwren <hwrenx@126.com>
> ---
>  libavformat/riff.c | 1 +
>  1 file changed, 1 insertion(+)

The order of the patches is wrong. This cannot be 1/3 as it depends on
the introduction of AV_CODEC_ID_AVS2

[...]
diff mbox

Patch

diff --git a/libavformat/riff.c b/libavformat/riff.c
index 8911725..4153372 100644
--- a/libavformat/riff.c
+++ b/libavformat/riff.c
@@ -369,6 +369,7 @@  const AVCodecTag ff_codec_bmp_tags[] = {
     { AV_CODEC_ID_ZMBV,         MKTAG('Z', 'M', 'B', 'V') },
     { AV_CODEC_ID_KMVC,         MKTAG('K', 'M', 'V', 'C') },
     { AV_CODEC_ID_CAVS,         MKTAG('C', 'A', 'V', 'S') },
+    { AV_CODEC_ID_AVS2,         MKTAG('A', 'V', 'S', '2') },
     { AV_CODEC_ID_JPEG2000,     MKTAG('m', 'j', 'p', '2') },
     { AV_CODEC_ID_JPEG2000,     MKTAG('M', 'J', '2', 'C') },
     { AV_CODEC_ID_JPEG2000,     MKTAG('L', 'J', '2', 'C') },