From 0ba5299a805e9ccaef1a757381fc2ada4d54b8a1 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Tue, 29 Apr 2014 17:40:57 +0200 Subject: movenc: use the "encoder" metadata tag to write stsd Compressorname This mirrors the demuxer behaviour and avoids accessing AVCodecContext.codec, which should not be done in muxers. --- libavformat/movenc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'libavformat/movenc.h') diff --git a/libavformat/movenc.h b/libavformat/movenc.h index 226a28f165..3410080780 100644 --- a/libavformat/movenc.h +++ b/libavformat/movenc.h @@ -91,6 +91,7 @@ typedef struct MOVTrack { int language; int track_id; int tag; ///< stsd fourcc + AVStream *st; AVCodecContext *enc; int vos_len; -- cgit v1.2.3