[FFmpeg-devel] [PATCH 1/5] movenc: use correct tag list for AVOutputFormat.codec_tag

Michael Niedermayer michael at niedermayer.cc
Thu Jun 29 04:03:35 EEST 2017

On Wed, Jun 28, 2017 at 04:41:58PM +0100, Derek Buitenhuis wrote:
> From: John Stebbins <stebbins at jetheaddev.com>
> ff_mp4_obj_type contains the wrong type of tags for
> AVOutputFormat.codec_tag. AVOutputFormat.codec_tag is used to
> validate AVCodecParameters.codec_tag so needs to be the same
> type of tag.
> Creates new tag lists for mp4 and ismv.  New tag lists support
> same list of codecs found in ff_mp4_obj_type. psp uses the same
> tag list as mp4 since these both use mp4_get_codec_tag to look up tags.
> (cherry picked from commit 713efb2c0d013a42be4051adb7cd90a7c2cbbb4f)
> Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
> ---
>  libavformat/movenc.c | 42 +++++++++++++++++++++++++++++++++++++++---
>  1 file changed, 39 insertions(+), 3 deletions(-)

Fails to build

src/libavformat/movenc.c:6450:7: error: ‘AV_CODEC_ID_EVR’ undeclared here (not in a function)
     { AV_CODEC_ID_EVR         , MKTAG('m', 'p', '4', 'v') },
make: *** [libavformat/movenc.o] Error 1

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Take away the freedom of one citizen and you will be jailed, take away
the freedom of all citizens and you will be congratulated by your peers
in Parliament.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170629/0762bd44/attachment.sig>

More information about the ffmpeg-devel mailing list