[MPlayer-dev-eng] [PATCH] Fix avctx->opaque initialization in vd_ffmpeg

Gwenole Beauchesne gbeauchesne at splitted-desktop.com
Thu Feb 12 17:16:53 CET 2009


On Thu, 12 Feb 2009, Gwenole Beauchesne wrote:

> Why is avctx->opaque initialized in vd_ffmpeg.c::decode() and not in
> vd_ffmpeg.c::init()?

Here is a patch. The hunk could be edited trivially to remove the 
assert(), which I could not trigger, even with multiple videos played 
sequentially.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer.fix.vd_ffmpeg.init.patch
Type: text/x-diff
Size: 821 bytes
Desc: 
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20090212/d1df85b5/attachment.patch>


More information about the MPlayer-dev-eng mailing list