[FFmpeg-devel] [PATCH]Fix remuxing of IMA_QT in mov

Michael Niedermayer michaelni at gmx.at
Mon Aug 26 16:54:25 CEST 2013


On Mon, Aug 26, 2013 at 12:14:47PM +0200, Carl Eugen Hoyos wrote:
> Hi!
> 
> Attached patch fixes ticket #1603 for me.
> 
> Please comment, Carl Eugen

>  movenc.c |    3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> b547ca193ccfd101ca5dd634150428535b3cd359  patchmovimaqt.diff
> diff --git a/libavformat/movenc.c b/libavformat/movenc.c
> index a46e8f8..16dde8e 100644


> --- a/libavformat/movenc.c
> +++ b/libavformat/movenc.c
> @@ -3731,7 +3731,8 @@ static int mov_write_header(AVFormatContext *s)
>              }else{
>                  track->sample_size = (av_get_bits_per_sample(st->codec->codec_id) >> 3) * st->codec->channels;
>              }
> -            if (st->codec->codec_id == AV_CODEC_ID_ILBC) {
> +            if (st->codec->codec_id == AV_CODEC_ID_ILBC ||
> +                st->codec->codec_id == AV_CODEC_ID_ADPCM_IMA_QT) {

LGTM

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

While the State exists there can be no freedom; when there is freedom there
will be no State. -- Vladimir Lenin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130826/952c4f21/attachment.asc>


More information about the ffmpeg-devel mailing list