[FFmpeg-devel] [PATCH] Fix roq encoding
Sat Jul 19 00:55:36 CEST 2008
On Sat, Jul 19, 2008 at 12:23:28AM +0200, Vitor Sessak wrote:
> The following patch fix the issue 548. Not that I fully understand why
> before it was ok not to set avctx->coded_frame and now it crashes...
> PS: nice to know there is someone who used this encoder...
> Index: libavcodec/roqvideoenc.c
> --- libavcodec/roqvideoenc.c (revision 14271)
> +++ libavcodec/roqvideoenc.c (working copy)
> @@ -1037,6 +1037,8 @@
> /* Encode the actual frame */
> + avctx->coded_frame = enc->last_frame;
I think it should be set to current_frame before the pointers
are swapped, that would be cleaner
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
When you are offended at any man's fault, turn to yourself and study your
own failings. Then you will forget your anger. -- Epictetus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel