Mercurial > libavformat.hg
comparison movenc.c @ 3907:7c71e9cabf0e libavformat
terminate tag tables by CODEC_ID_NONE
author | bcoudurier |
---|---|
date | Mon, 08 Sep 2008 00:58:24 +0000 |
parents | c472578fa54d |
children | 1d3d17de20ba |
comparison
equal
deleted
inserted
replaced
3906:b3a0c732d0d7 | 3907:7c71e9cabf0e |
---|---|
548 { CODEC_ID_H264, MKTAG('a','v','c','1') }, | 548 { CODEC_ID_H264, MKTAG('a','v','c','1') }, |
549 { CODEC_ID_MPEG4, MKTAG('m','p','4','v') }, | 549 { CODEC_ID_MPEG4, MKTAG('m','p','4','v') }, |
550 { CODEC_ID_AAC, MKTAG('m','p','4','a') }, | 550 { CODEC_ID_AAC, MKTAG('m','p','4','a') }, |
551 { CODEC_ID_AMR_NB, MKTAG('s','a','m','r') }, | 551 { CODEC_ID_AMR_NB, MKTAG('s','a','m','r') }, |
552 { CODEC_ID_AMR_WB, MKTAG('s','a','w','b') }, | 552 { CODEC_ID_AMR_WB, MKTAG('s','a','w','b') }, |
553 { CODEC_ID_NONE, 0 }, | |
553 }; | 554 }; |
554 | 555 |
555 static const AVCodecTag mov_pix_fmt_tags[] = { | 556 static const AVCodecTag mov_pix_fmt_tags[] = { |
556 { PIX_FMT_YUYV422, MKTAG('y','u','v','s') }, | 557 { PIX_FMT_YUYV422, MKTAG('y','u','v','s') }, |
557 { PIX_FMT_UYVY422, MKTAG('2','v','u','y') }, | 558 { PIX_FMT_UYVY422, MKTAG('2','v','u','y') }, |
564 { CODEC_ID_H264, MKTAG('a','v','c','1') }, | 565 { CODEC_ID_H264, MKTAG('a','v','c','1') }, |
565 { CODEC_ID_MPEG4, MKTAG('m','p','4','v') }, | 566 { CODEC_ID_MPEG4, MKTAG('m','p','4','v') }, |
566 { CODEC_ID_AAC, MKTAG('m','p','4','a') }, | 567 { CODEC_ID_AAC, MKTAG('m','p','4','a') }, |
567 { CODEC_ID_ALAC, MKTAG('a','l','a','c') }, | 568 { CODEC_ID_ALAC, MKTAG('a','l','a','c') }, |
568 { CODEC_ID_AC3, MKTAG('a','c','-','3') }, | 569 { CODEC_ID_AC3, MKTAG('a','c','-','3') }, |
570 { CODEC_ID_NONE, 0 }, | |
569 }; | 571 }; |
570 | 572 |
571 static int mov_find_codec_tag(AVFormatContext *s, MOVTrack *track) | 573 static int mov_find_codec_tag(AVFormatContext *s, MOVTrack *track) |
572 { | 574 { |
573 int tag = track->enc->codec_tag; | 575 int tag = track->enc->codec_tag; |