]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/mpegaudio.c
use AVFrame.pts=AV_NOPTS_VALUE instead of AVFrame.pts=0
[ffmpeg] / libavcodec / mpegaudio.c
index a6fe951c0ca4595db2a1ce82e0b30b18c8e88840..fe79baa1d2e3b7b82c4942de7c2b035690f35d89 100644 (file)
@@ -117,7 +117,7 @@ static int MPA_encode_init(AVCodecContext *avctx)
     s->alloc_table = alloc_tables[table];
 
 #ifdef DEBUG
-    printf("%d kb/s, %d Hz, frame_size=%d bits, table=%d, padincr=%x\n", 
+    av_log(avctx, AV_LOG_DEBUG, "%d kb/s, %d Hz, frame_size=%d bits, table=%d, padincr=%x\n", 
            bitrate, freq, s->frame_size, table, s->frame_frac_incr);
 #endif