*/
/**
- * @file roqvideoenc.c
+ * @file libavcodec/roqvideoenc.c
* id RoQ encoder by Vitor. Based on the Switchblade3 library and the
* Switchblade3 FFmpeg glue by Eric Lasota.
*/
{
RoqContext *enc = avctx->priv_data;
- av_random_init(&enc->randctx, 1);
+ av_lfg_init(&enc->randctx, 1);
enc->framesSinceKeyframe = 0;
if ((avctx->width & 0xf) || (avctx->height & 0xf)) {