]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/roqvideoenc.c
correctly interleave audio and video according to specs
[ffmpeg] / libavcodec / roqvideoenc.c
index 828f9957e864cde8a5ca01159e763aaf3f4eb73e..8cca312f22ed60da6a0ce5308501d63a66efee54 100644 (file)
@@ -23,7 +23,7 @@
  */
 
 /**
- * @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.
  */
@@ -929,7 +929,7 @@ static int roq_encode_init(AVCodecContext *avctx)
 {
     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)) {