diff libmpcodecs/ad_ffmpeg.c @ 35715:8517826b0dbd

Replace CODEC_IDs their modern AV_-prefixed counterparts.
author diego
date Mon, 21 Jan 2013 19:44:53 +0000
parents 850d3a293e87
children 2e8a3822bd84
line wrap: on
line diff
--- a/libmpcodecs/ad_ffmpeg.c	Mon Jan 21 19:44:49 2013 +0000
+++ b/libmpcodecs/ad_ffmpeg.c	Mon Jan 21 19:44:53 2013 +0000
@@ -64,7 +64,7 @@
         // If the decoder uses the wrong number of channels all is lost anyway.
         // sh_audio->channels=sh_audio->wf->nChannels;
 
-        if (lavc_context->codec_id == CODEC_ID_AAC &&
+        if (lavc_context->codec_id == AV_CODEC_ID_AAC &&
             samplerate == 2*sh_audio->wf->nSamplesPerSec) {
             broken_srate = 1;
         } else if (sh_audio->wf->nSamplesPerSec)