comparison h264.c @ 2453:f67b63ed036d libavcodec

avoid buf_size == 0 checks in every decoder
author michael
date Sun, 23 Jan 2005 18:09:06 +0000
parents 6f719184e2b9
children 300f1207768d
comparison
equal deleted inserted replaced
2452:73a66a4a6ab4 2453:f67b63ed036d
6590 sizeof(H264Context), 6590 sizeof(H264Context),
6591 decode_init, 6591 decode_init,
6592 NULL, 6592 NULL,
6593 decode_end, 6593 decode_end,
6594 decode_frame, 6594 decode_frame,
6595 /*CODEC_CAP_DRAW_HORIZ_BAND |*/ CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED, 6595 /*CODEC_CAP_DRAW_HORIZ_BAND |*/ CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY,
6596 }; 6596 };
6597 6597
6598 AVCodecParser h264_parser = { 6598 AVCodecParser h264_parser = {
6599 { CODEC_ID_H264 }, 6599 { CODEC_ID_H264 },
6600 sizeof(H264Context), 6600 sizeof(H264Context),