diff libmpcodecs/ae_lavc.c @ 32768:3544ba7244bf

Change deprecated PKT_FLAG_KEY, CODEC_TYPE_* and SAMPLE_FMT_* to their new names.
author reimar
date Sat, 05 Feb 2011 14:02:49 +0000
parents b3b553ad6da8
children 44f4ead8fdb0
line wrap: on
line diff
--- a/libmpcodecs/ae_lavc.c	Sat Feb 05 13:58:36 2011 +0000
+++ b/libmpcodecs/ae_lavc.c	Sat Feb 05 14:02:49 2011 +0000
@@ -184,7 +184,7 @@
 		return 0;
 	}
 
-	lavc_actx->codec_type = CODEC_TYPE_AUDIO;
+	lavc_actx->codec_type = AVMEDIA_TYPE_AUDIO;
 	lavc_actx->codec_id = lavc_acodec->id;
 	// put sample parameters
 	lavc_actx->sample_fmt = AV_SAMPLE_FMT_S16;