summaryrefslogtreecommitdiff
path: root/libavformat/soxdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/soxdec.c')
-rw-r--r--libavformat/soxdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/soxdec.c b/libavformat/soxdec.c
index 0151efebc1..41cf884b25 100644
--- a/libavformat/soxdec.c
+++ b/libavformat/soxdec.c
@@ -53,7 +53,7 @@ static int sox_read_header(AVFormatContext *s,
if (!st)
return AVERROR(ENOMEM);
- st->codec->codec_type = CODEC_TYPE_AUDIO;
+ st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
if (get_le32(pb) == SOX_TAG) {
st->codec->codec_id = CODEC_ID_PCM_S32LE;