]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/truespeech.c
Fix compilation with old yasm.
[ffmpeg] / libavcodec / truespeech.c
index 807329ee110fc971272b22936da51a2c18ccda01..d903a0119ecf191c624c2f40e574ab9346b13ae1 100644 (file)
@@ -56,7 +56,7 @@ static av_cold int truespeech_decode_init(AVCodecContext * avctx)
 {
 //    TSContext *c = avctx->priv_data;
 
-    avctx->sample_fmt = SAMPLE_FMT_S16;
+    avctx->sample_fmt = AV_SAMPLE_FMT_S16;
     return 0;
 }
 
@@ -381,7 +381,7 @@ static int truespeech_decode_frame(AVCodecContext *avctx,
     return consumed;
 }
 
-AVCodec truespeech_decoder = {
+AVCodec ff_truespeech_decoder = {
     "truespeech",
     AVMEDIA_TYPE_AUDIO,
     CODEC_ID_TRUESPEECH,