[FFmpeg-devel] [PATCH 3/3] Add assert that the avcodec lock isheld when initializing static VLC tables.

Don Moir donmoir at comcast.net
Mon Dec 3 13:53:21 CET 2012

On Sun, Dec 02, 2012 at 06:55:30PM -0500, Don Moir wrote:
> av_assert0 calls av_log with the file and line number information.
> The problem with that is av_log is sometimes cluttered with hundreds
> and thousands of messages which are mostly useless outside of
> debugging and I turn this off rather than wasting time with BS. 

> Even keeping only log level AV_LOG_FATAL?

> Setting a av_log_callback and filtering only AV_LOG_FATAL wouldn't solve
> your problem?

yes it would

> This would also give a better oportunity for the app to log its own info
> with something meaningful and maybe get the problem fixed.

Means I could log the file and line number at point of assert.

More information about the ffmpeg-devel mailing list