[FFmpeg-devel] [PATCH] libschroedingerdec: add CODEC_CAP_DR1

Michael Niedermayer michaelni at gmx.at
Sun Jul 8 03:55:22 CEST 2012


On Sat, Jul 07, 2012 at 08:48:54PM +0000, Paul B Mahol wrote:
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libavcodec/libschroedingerdec.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/libavcodec/libschroedingerdec.c b/libavcodec/libschroedingerdec.c
> index 5aa9c95..b20ffdf 100644
> --- a/libavcodec/libschroedingerdec.c
> +++ b/libavcodec/libschroedingerdec.c
> @@ -386,7 +386,7 @@ AVCodec ff_libschroedinger_decoder = {
>      .init           = libschroedinger_decode_init,
>      .close          = libschroedinger_decode_close,
>      .decode         = libschroedinger_decode_frame,
> -    .capabilities   = CODEC_CAP_DELAY,
> +    .capabilities   = CODEC_CAP_DELAY | CODEC_CAP_DR1,
>      .flush          = libschroedinger_flush,

the code seems to make assumtions on the linesize and is actually
overwriting it, thats not compatible with DR1

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There will always be a question for which you do not know the correct awnser.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120708/c395a751/attachment.asc>


More information about the ffmpeg-devel mailing list