g723_1: add CODEC_CAP_DR1
authorPaul B Mahol <onemda@gmail.com>
Sat, 7 Jul 2012 21:05:51 +0000 (21:05 +0000)
committerPaul B Mahol <onemda@gmail.com>
Sun, 8 Jul 2012 23:40:55 +0000 (23:40 +0000)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/g723_1.c

index 0270519..ce3793d 100644 (file)
@@ -1096,7 +1096,7 @@ AVCodec ff_g723_1_decoder = {
     .init           = g723_1_decode_init,
     .decode         = g723_1_decode_frame,
     .long_name      = NULL_IF_CONFIG_SMALL("G.723.1"),
-    .capabilities   = CODEC_CAP_SUBFRAMES,
+    .capabilities   = CODEC_CAP_SUBFRAMES | CODEC_CAP_DR1,
 };
 
 #if CONFIG_G723_1_ENCODER