changeset 1299:e12ffbf1070d libavformat

fix sound of SampleVideo.mov (mp2 in mov)
author michael
date Thu, 07 Sep 2006 20:19:37 +0000
parents 29fba975df47
children c87b57a53062
files mov.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mov.c	Thu Sep 07 16:35:22 2006 +0000
+++ b/mov.c	Thu Sep 07 20:19:37 2006 +0000
@@ -1065,6 +1065,9 @@
         st->codec->sample_rate= 8000;
         st->codec->channels= 1; /* really needed */
         break;
+    case CODEC_ID_MP2:
+        st->need_parsing = 1;
+        break;
     default:
         break;
     }