mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-31 03:44:15 +00:00
Clarify ff_xvmc_field_start() comment.
Originally committed as revision 17291 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
9e494ab77c
commit
a1bce01171
@ -58,8 +58,8 @@ void ff_xvmc_pack_pblocks(MpegEncContext *s, int cbp)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// These functions should be called on every new field and/or frame.
|
// This function should be called for every new field and/or frame.
|
||||||
// They should be safe if they are called a few times for the same field!
|
// It should be safe to call the function a few times for the same field.
|
||||||
int ff_xvmc_field_start(MpegEncContext*s, AVCodecContext *avctx)
|
int ff_xvmc_field_start(MpegEncContext*s, AVCodecContext *avctx)
|
||||||
{
|
{
|
||||||
struct xvmc_render_state *last, *next, *render = (struct xvmc_render_state*)s->current_picture.data[2];
|
struct xvmc_render_state *last, *next, *render = (struct xvmc_render_state*)s->current_picture.data[2];
|
||||||
|
Loading…
Reference in New Issue
Block a user