[MPlayer-cvslog] CVS: main/libmpcodecs ad_ffmpeg.c,1.18,1.19
Roberto Togni CVS
syncmail at mplayerhq.hu
Sun Mar 6 18:55:33 CET 2005
CVS change done by Roberto Togni CVS
Update of /cvsroot/mplayer/main/libmpcodecs
In directory mail:/var2/tmp/cvs-serv2989/libmpcodecs
Modified Files:
ad_ffmpeg.c
Log Message:
alac support via lavc decoder
Index: ad_ffmpeg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpcodecs/ad_ffmpeg.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- ad_ffmpeg.c 1 Feb 2005 19:19:40 -0000 1.18
+++ ad_ffmpeg.c 6 Mar 2005 17:55:31 -0000 1.19
@@ -66,6 +66,7 @@
lavc_context->sample_rate = sh_audio->wf->nSamplesPerSec;
lavc_context->bit_rate = sh_audio->wf->nAvgBytesPerSec * 8;
lavc_context->block_align = sh_audio->wf->nBlockAlign;
+ lavc_context->bits_per_sample = sh_audio->wf->wBitsPerSample;
}
lavc_context->codec_tag = sh_audio->format; //FOURCC
lavc_context->codec_id = lavc_codec->id; // not sure if required, imho not --A'rpi
More information about the MPlayer-cvslog
mailing list