[SCM] libav/experimental: Quicktime creates S8 that way too

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:47:10 UTC 2013


The following commit has been merged in the experimental branch:
commit 0dd39bfe5d5177a961cdcd64996261a58aff7289
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date:   Fri Mar 24 15:38:15 2006 +0000

    Quicktime creates S8 that way too
    
    Originally committed as revision 5208 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/mov.c b/libavformat/mov.c
index dcad884..6e6cddd 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1073,6 +1073,7 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
             st->codec->sample_rate = ((get_be32(pb) >> 16));
 
             switch (st->codec->codec_id) {
+            case CODEC_ID_PCM_S16LE:
             case CODEC_ID_PCM_S16BE:
                 if (st->codec->bits_per_sample == 8)
                     st->codec->codec_id = CODEC_ID_PCM_S8;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list