diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2008-05-02 21:30:32 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2008-05-02 21:30:32 +0000 |
commit | 4bc07e78b8c966d0393c4dd828eaf15938639998 (patch) | |
tree | 5175d7e17d508e4cb1de4c2cec788a2c159bcf74 /libavcodec | |
parent | a128cc91f3dbc889d006f2cfebaf08aabc6dac95 (diff) | |
download | ffmpeg-4bc07e78b8c966d0393c4dd828eaf15938639998.tar.gz |
change function parameters for dump_headers()
Originally committed as revision 13034 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/flac.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libavcodec/flac.c b/libavcodec/flac.c index bb92bb05e0..28e25e7b90 100644 --- a/libavcodec/flac.c +++ b/libavcodec/flac.c @@ -117,13 +117,13 @@ static av_cold int flac_decode_init(AVCodecContext * avctx) return 0; } -static void dump_headers(FLACContext *s) +static void dump_headers(AVCodecContext *avctx, FLACContext *s) { - av_log(s->avctx, AV_LOG_DEBUG, " Blocksize: %d .. %d (%d)\n", s->min_blocksize, s->max_blocksize, s->blocksize); - av_log(s->avctx, AV_LOG_DEBUG, " Max Framesize: %d\n", s->max_framesize); - av_log(s->avctx, AV_LOG_DEBUG, " Samplerate: %d\n", s->samplerate); - av_log(s->avctx, AV_LOG_DEBUG, " Channels: %d\n", s->channels); - av_log(s->avctx, AV_LOG_DEBUG, " Bits: %d\n", s->bps); + av_log(avctx, AV_LOG_DEBUG, " Blocksize: %d .. %d (%d)\n", s->min_blocksize, s->max_blocksize, s->blocksize); + av_log(avctx, AV_LOG_DEBUG, " Max Framesize: %d\n", s->max_framesize); + av_log(avctx, AV_LOG_DEBUG, " Samplerate: %d\n", s->samplerate); + av_log(avctx, AV_LOG_DEBUG, " Channels: %d\n", s->channels); + av_log(avctx, AV_LOG_DEBUG, " Bits: %d\n", s->bps); } static void allocate_buffers(FLACContext *s){ @@ -168,7 +168,7 @@ static void metadata_streaminfo(AVCodecContext *avctx, FLACContext *s, skip_bits(&gb, 64); /* md5 sum */ skip_bits(&gb, 64); /* md5 sum */ - dump_headers(s); + dump_headers(avctx, s); } /** @@ -573,7 +573,7 @@ static int decode_frame(FLACContext *s, int alloc_data_size) s->bps = bps; s->decorrelation= decorrelation; -// dump_headers(s); +// dump_headers(s->avctx, s); /* subframes */ for (i = 0; i < s->channels; i++) |