[FFmpeg-cvslog] s302m: use nondeprecated audio sample format API
Dustin Brody
git at videolan.org
Sat Jul 30 06:55:33 CEST 2011
ffmpeg | branch: master | Dustin Brody <libav at parsoma.net> | Fri Jul 29 02:36:11 2011 -0400| [8f9d3f6d9a77be68215046fde7a3e0a12fe024f9] | committer: Anton Khirnov
s302m: use nondeprecated audio sample format API
Signed-off-by: Anton Khirnov <anton at khirnov.net>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8f9d3f6d9a77be68215046fde7a3e0a12fe024f9
---
libavcodec/s302m.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/s302m.c b/libavcodec/s302m.c
index 2e261b6..faaa8ed 100644
--- a/libavcodec/s302m.c
+++ b/libavcodec/s302m.c
@@ -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;
avctx->sample_rate = 48000;
More information about the ffmpeg-cvslog
mailing list