[vlc-devel] commit: Fixed MS ADPCM inside mov. (Laurent Aimar )

git version control git at videolan.org
Thu Jul 3 23:59:49 CEST 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Thu Jul  3 21:47:36 2008 +0000| [b6a82807304d3c3644e26f84d25dc1d2a3dc118c]

Fixed MS ADPCM inside mov.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b6a82807304d3c3644e26f84d25dc1d2a3dc118c
---

 modules/demux/mp4/mp4.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index a55170b..d8abf78 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -1660,6 +1660,11 @@ static int TrackCreateES( demux_t *p_demux, mp4_track_t *p_track,
                 break;
             }
 
+            case VLC_FOURCC('m','s',0x00,0x02):
+            case VLC_FOURCC('m','s',0x00,0x11):
+                p_track->fmt.audio.i_blockalign = p_sample->data.p_sample_soun->i_bytes_per_frame;
+                break;
+
             default:
                 break;
         }




More information about the vlc-devel mailing list