Mercurial > mplayer.hg
view loader/debug.h @ 34659:c7db9db9105c
vf screenshot: Fix breakage after lavc API changes
The avcodec_open2() function wants a valid avctx->pix_fmt to
be set in the AVCodecContext prior to its invocation.
Thanks to Ivan for working this out for vo png already.
author | al |
---|---|
date | Sun, 19 Feb 2012 22:09:30 +0000 |
parents | a8ea87c71d18 |
children |
line wrap: on
line source
#ifndef MPLAYER_DEBUG_H #define MPLAYER_DEBUG_H #ifdef DEBUG #define TRACE printf #define dbg_printf printf #else #define TRACE(...) #define dbg_printf(...) #endif #endif /* MPLAYER_DEBUG_H */