diff options
author | Michael Chinen <mchinen@gmail.com> | 2010-12-07 14:00:38 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2010-12-07 14:00:38 +0000 |
commit | 3c795698d074612375df710e60ad93597eca1f5c (patch) | |
tree | c5632493f1556fba643c58b909f17edc3faffcc4 /libavcodec/flac.h | |
parent | 71b6fc216c00f32f834cd49465341174e74ea3b9 (diff) | |
download | ffmpeg-3c795698d074612375df710e60ad93597eca1f5c.tar.gz |
Add log_level_offset parameter to ff_flac_decode_frame_header(). It will be used
to optionally silence the error messages.
Patch by Michael Chinen [mchinen at gmail]
Originally committed as revision 25912 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/flac.h')
-rw-r--r-- | libavcodec/flac.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/flac.h b/libavcodec/flac.h index 27f0090328..7bcc1a1a9d 100644 --- a/libavcodec/flac.h +++ b/libavcodec/flac.h @@ -131,8 +131,9 @@ int ff_flac_get_max_frame_size(int blocksize, int ch, int bps); * @param avctx AVCodecContext to use as av_log() context * @param gb GetBitContext from which to read frame header * @param[out] fi frame information + * @param log_level_offset log level offset. can be used to silence error messages. * @return non-zero on error, 0 if ok */ int ff_flac_decode_frame_header(AVCodecContext *avctx, GetBitContext *gb, - FLACFrameInfo *fi); + FLACFrameInfo *fi, int log_level_offset); #endif /* AVCODEC_FLAC_H */ |