libavformat/mtv: add missing MTV_ prefix to macro

Signed-off-by: 's avatarReynaldo H. Verdejo Pinochet <r.verdejo@sisa.samsung.com>
parent ba15aab4
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
#define MTV_HEADER_SIZE 512 #define MTV_HEADER_SIZE 512
#define MTV_AUDIO_PADDING_SIZE 12 #define MTV_AUDIO_PADDING_SIZE 12
#define MTV_IMAGE_DEFAULT_BPP 16 #define MTV_IMAGE_DEFAULT_BPP 16
#define AUDIO_SAMPLING_RATE 44100 #define MTV_AUDIO_SAMPLING_RATE 44100
typedef struct MTVDemuxContext { typedef struct MTVDemuxContext {
...@@ -176,7 +176,7 @@ static int mtv_read_header(AVFormatContext *s) ...@@ -176,7 +176,7 @@ static int mtv_read_header(AVFormatContext *s)
if(!st) if(!st)
return AVERROR(ENOMEM); return AVERROR(ENOMEM);
avpriv_set_pts_info(st, 64, 1, AUDIO_SAMPLING_RATE); avpriv_set_pts_info(st, 64, 1, MTV_AUDIO_SAMPLING_RATE);
st->codec->codec_type = AVMEDIA_TYPE_AUDIO; st->codec->codec_type = AVMEDIA_TYPE_AUDIO;
st->codec->codec_id = AV_CODEC_ID_MP3; st->codec->codec_id = AV_CODEC_ID_MP3;
st->codec->bit_rate = mtv->audio_br; st->codec->bit_rate = mtv->audio_br;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment