diff mbox

[FFmpeg-devel,1/2] avformat/nut: add cpia codec

Message ID 20190606203145.22217-1-stephan@ecshi.net
State Accepted
Commit 1954161628ab136148b4fc5db0447480bc616467
Headers show

Commit Message

Stephan Hilb June 6, 2019, 8:31 p.m. UTC
---
 libavformat/nut.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Michael Niedermayer June 7, 2019, 3:48 p.m. UTC | #1
On Thu, Jun 06, 2019 at 10:31:44PM +0200, Stephan Hilb wrote:
> ---
>  libavformat/nut.c | 1 +
>  1 file changed, 1 insertion(+)

please send a patch to docs/nut4cc.txt first.
(https://git.ffmpeg.org/nut.git or svn://svn.mplayerhq.hu/nut)

thx

[...]
Stephan Hilb June 7, 2019, 8:27 p.m. UTC | #2
> please send a patch to docs/nut4cc.txt first.
> (https://git.ffmpeg.org/nut.git or svn://svn.mplayerhq.hu/nut)

sent the patch (mail is awaiting moderation)
Michael Niedermayer June 10, 2019, 7:35 p.m. UTC | #3
On Thu, Jun 06, 2019 at 10:31:44PM +0200, Stephan Hilb wrote:
> ---
>  libavformat/nut.c | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/libavformat/nut.c b/libavformat/nut.c
> index 4fbbcb1d26..937f452878 100644
> --- a/libavformat/nut.c
> +++ b/libavformat/nut.c
> @@ -43,6 +43,7 @@ const AVCodecTag ff_nut_video_tags[] = {
>      { AV_CODEC_ID_XFACE,            MKTAG('X', 'F', 'A', 'C') },
>      { AV_CODEC_ID_VP9,              MKTAG('V', 'P', '9', '0') },
>      { AV_CODEC_ID_HEVC,             MKTAG('H', 'E', 'V', 'C') },
> +    { AV_CODEC_ID_CPIA,             MKTAG('C', 'P', 'i', 'A') },
>      { AV_CODEC_ID_RAWVIDEO,         MKTAG('R', 'G', 'B', 15 ) },
>      { AV_CODEC_ID_RAWVIDEO,         MKTAG('B', 'G', 'R', 15 ) },
>      { AV_CODEC_ID_RAWVIDEO,         MKTAG('R', 'G', 'B', 16 ) },

will apply

thx

[...]
diff mbox

Patch

diff --git a/libavformat/nut.c b/libavformat/nut.c
index 4fbbcb1d26..937f452878 100644
--- a/libavformat/nut.c
+++ b/libavformat/nut.c
@@ -43,6 +43,7 @@  const AVCodecTag ff_nut_video_tags[] = {
     { AV_CODEC_ID_XFACE,            MKTAG('X', 'F', 'A', 'C') },
     { AV_CODEC_ID_VP9,              MKTAG('V', 'P', '9', '0') },
     { AV_CODEC_ID_HEVC,             MKTAG('H', 'E', 'V', 'C') },
+    { AV_CODEC_ID_CPIA,             MKTAG('C', 'P', 'i', 'A') },
     { AV_CODEC_ID_RAWVIDEO,         MKTAG('R', 'G', 'B', 15 ) },
     { AV_CODEC_ID_RAWVIDEO,         MKTAG('B', 'G', 'R', 15 ) },
     { AV_CODEC_ID_RAWVIDEO,         MKTAG('R', 'G', 'B', 16 ) },