On Fri, Jan 30, 2015 at 01:09:03PM +0000, Christophe Gisquet wrote: > The solution requires accessing an lavu internal, which may not be > a good example for ffmpeg as a library user. > --- > ffmpeg.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/ffmpeg.c b/ffmpeg.c > index 9b7d585..271a638 100644 > --- a/ffmpeg.c > +++ b/ffmpeg.c > @@ -60,6 +60,7 @@ > #include "libavutil/bprint.h" > #include "libavutil/time.h" > #include "libavutil/threadmessage.h" > +#include "libavutil/internal.h" > #include "libavformat/os_support.h" > > #include "libavformat/ffm.h" // not public API > @@ -1965,7 +1966,7 @@ static int decode_video(InputStream *ist, AVPacket > *pkt, int *got_output) > if (ist->dec_ctx->codec_id == AV_CODEC_ID_H264) { > ist->st->codec->has_b_frames = ist->dec_ctx->has_b_frames; > } else > - av_log_ask_for_sample( > + avpriv_request_sample(
ffmpeg.c as a user application should not use avpriv* [...] -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB I am the wisest man alive, for I know one thing, and that is that I know nothing. -- Socrates
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel