Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/libavcodec/mpeg4videodec.c b/libavcodec/mpeg4videodec.c
- index 5387064..95790c9 100644
- --- a/libavcodec/mpeg4videodec.c
- +++ b/libavcodec/mpeg4videodec.c
- @@ -2307,4 +2307,18 @@ AVCodec ff_mpeg4_vdpau_decoder = {
- .long_name= NULL_IF_CONFIG_SMALL("MPEG-4 part 2 (VDPAU)"),
- .pix_fmts= (const enum PixelFormat[]){PIX_FMT_VDPAU_MPEG4, PIX_FMT_NONE},
- };
- +
- +AVCodec ff_h263_vdpau_decoder = {
- + .name = "h263_vdpau",
- + .type = AVMEDIA_TYPE_VIDEO,
- + .id = CODEC_ID_H263,
- + .priv_data_size = sizeof(MpegEncContext),
- + .init = decode_init,
- + .close = ff_h263_decode_end,
- + .decode = ff_h263_decode_frame,
- + .capabilities = CODEC_CAP_DR1 | CODEC_CAP_TRUNCATED | CODEC_CAP_DELAY | CODEC_CAP_HWACCEL_VDPAU,
- + .long_name= NULL_IF_CONFIG_SMALL("H.263 (VDPAU)"),
- + .pix_fmts= (const enum PixelFormat[]){PIX_FMT_VDPAU_MPEG4, PIX_FMT_NONE},
- +};
- +
- #endif
Add Comment
Please, Sign In to add comment