Doxygen comment/explanation for ff_xvmc_init_block().
[libav.git] / libavcodec / mpegvideo_xvmc.c
index af7497e..4b1801e 100644 (file)
 #include "xvmc.h"
 #include "xvmc_internal.h"
 
-//set s->block
+/**
+ * Initializes the block field of the MpegEncContext pointer passed as
+ * parameter after making sure that the data is not corrupted.
+ */
 void ff_xvmc_init_block(MpegEncContext *s)
 {
     struct xvmc_render_state *render = (struct xvmc_render_state*)s->current_picture.data[2];