Mercurial > libavcodec.hg
comparison h263dec.c @ 2453:f67b63ed036d libavcodec
avoid buf_size == 0 checks in every decoder
author | michael |
---|---|
date | Sun, 23 Jan 2005 18:09:06 +0000 |
parents | 18b8b2dcc037 |
children | 81a9f883a17a |
comparison
equal
deleted
inserted
replaced
2452:73a66a4a6ab4 | 2453:f67b63ed036d |
---|---|
791 sizeof(MpegEncContext), | 791 sizeof(MpegEncContext), |
792 ff_h263_decode_init, | 792 ff_h263_decode_init, |
793 NULL, | 793 NULL, |
794 ff_h263_decode_end, | 794 ff_h263_decode_end, |
795 ff_h263_decode_frame, | 795 ff_h263_decode_frame, |
796 CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED, | 796 CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, |
797 .options = mpeg4_decoptions, | 797 .options = mpeg4_decoptions, |
798 .flush= ff_mpeg_flush, | 798 .flush= ff_mpeg_flush, |
799 }; | 799 }; |
800 | 800 |
801 AVCodec h263_decoder = { | 801 AVCodec h263_decoder = { |
805 sizeof(MpegEncContext), | 805 sizeof(MpegEncContext), |
806 ff_h263_decode_init, | 806 ff_h263_decode_init, |
807 NULL, | 807 NULL, |
808 ff_h263_decode_end, | 808 ff_h263_decode_end, |
809 ff_h263_decode_frame, | 809 ff_h263_decode_frame, |
810 CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED, | 810 CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY, |
811 .flush= ff_mpeg_flush, | 811 .flush= ff_mpeg_flush, |
812 }; | 812 }; |
813 | 813 |
814 AVCodec msmpeg4v1_decoder = { | 814 AVCodec msmpeg4v1_decoder = { |
815 "msmpeg4v1", | 815 "msmpeg4v1", |