[FFmpeg-devel] [PATCH] Don't let ctx->skip_frame>0 produce errors
Carl Eugen Hoyos
Thu Aug 30 13:30:15 CEST 2007
If user sets ctx->skip_frame to a value >0 (for example with MPlayers
lavdopts skipframe=nonref), libavcodec shows an error for every skipped
frame and returns -1.
IMO, if the user explicitly asked for skipping frames, this should not
be reported as an error. Attached patch makes libavcodec return 0 if a
frame is skipped.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the ffmpeg-devel