]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/s302m.c
ffplay: remove unnecessary if (cur_stream) checks
[ffmpeg] / libavcodec / s302m.c
index 98a5e73a8c79541eecd2e938374bc3ceae3e4a05..4db18eb2d0e248896b02b2b9d8eb1a0c14ffef1c 100644 (file)
@@ -58,9 +58,9 @@ static int s302m_parse_frame_header(AVCodecContext *avctx, const uint8_t *buf,
     /* Set output properties */
     avctx->bits_per_coded_sample = bits;
     if (bits > 16)
-        avctx->sample_fmt = SAMPLE_FMT_S32;
+        avctx->sample_fmt = AV_SAMPLE_FMT_S32;
     else
-        avctx->sample_fmt = SAMPLE_FMT_S16;
+        avctx->sample_fmt = AV_SAMPLE_FMT_S16;
 
     avctx->channels    = channels;
     switch(channels) {