[FFmpeg-cvslog] libavformat/mtv: add missing MTV_ prefix to macro

Reynaldo H. Verdejo Pinochet git at videolan.org
Thu Jan 23 21:41:32 CET 2014


ffmpeg | branch: master | Reynaldo H. Verdejo Pinochet <r.verdejo at sisa.samsung.com> | Thu Jan 23 17:14:52 2014 -0300| [4d888a0ad8239f5438b9ecca2bc84dee3cb4e728] | committer: Reynaldo H. Verdejo Pinochet

libavformat/mtv: add missing MTV_ prefix to macro

Signed-off-by: Reynaldo H. Verdejo Pinochet <r.verdejo at sisa.samsung.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4d888a0ad8239f5438b9ecca2bc84dee3cb4e728
---

 libavformat/mtv.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/mtv.c b/libavformat/mtv.c
index 250da00..071af4c 100644
--- a/libavformat/mtv.c
+++ b/libavformat/mtv.c
@@ -33,7 +33,7 @@
 #define MTV_HEADER_SIZE 512
 #define MTV_AUDIO_PADDING_SIZE 12
 #define MTV_IMAGE_DEFAULT_BPP 16
-#define AUDIO_SAMPLING_RATE 44100
+#define MTV_AUDIO_SAMPLING_RATE 44100
 
 typedef struct MTVDemuxContext {
 
@@ -176,7 +176,7 @@ static int mtv_read_header(AVFormatContext *s)
     if(!st)
         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_id        = AV_CODEC_ID_MP3;
     st->codec->bit_rate        = mtv->audio_br;



More information about the ffmpeg-cvslog mailing list