]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/nellymoserenc.c
Move the AVCodecContext options definition to a dedicated file, reduce
[ffmpeg] / libavcodec / nellymoserenc.c
index e1fc6f02ba9915383fb918c15e06d2827395d250..13fe64dfa7cf85dec8eec1686a313a0dd70c9452 100644 (file)
@@ -28,7 +28,7 @@
  *
  * Generic codec information: libavcodec/nellymoserdec.c
  *
- * Some information also from: http://www1.mplayerhq.hu/ASAO/ASAO.zip
+ * Some information also from: http://samples.mplayerhq.hu/A-codecs/Nelly_Moser/ASAO/ASAO.zip
  *                             (Copyright Joseph Artsimovich and UAB "DKD")
  *
  * for more information about nellymoser format, visit:
@@ -331,6 +331,8 @@ static void encode_block(NellyMoserEncodeContext *s, unsigned char *output, int
         if (!block)
             put_bits(&pb, NELLY_HEADER_BITS + NELLY_DETAIL_BITS - put_bits_count(&pb), 0);
     }
+
+    flush_put_bits(&pb);
 }
 
 static int encode_frame(AVCodecContext *avctx, uint8_t *frame, int buf_size, void *data)