Mercurial > libavcodec.hg
comparison libxavs.c @ 12516:34beb0af8204 libavcodec
Replace deprecated CODEC_TYPE_AUDIO and CODEC_TYPE_VIDEO with the
corresponding AVMEDIA_TYPE_* symbols.
author | stefano |
---|---|
date | Sat, 25 Sep 2010 23:27:16 +0000 |
parents | bf51ca1aafb8 |
children |
comparison
equal
deleted
inserted
replaced
12515:307776e26174 | 12516:34beb0af8204 |
---|---|
336 return 0; | 336 return 0; |
337 } | 337 } |
338 | 338 |
339 AVCodec libxavs_encoder = { | 339 AVCodec libxavs_encoder = { |
340 .name = "libxavs", | 340 .name = "libxavs", |
341 .type = CODEC_TYPE_VIDEO, | 341 .type = AVMEDIA_TYPE_VIDEO, |
342 .id = CODEC_ID_CAVS, | 342 .id = CODEC_ID_CAVS, |
343 .priv_data_size = sizeof(XavsContext), | 343 .priv_data_size = sizeof(XavsContext), |
344 .init = XAVS_init, | 344 .init = XAVS_init, |
345 .encode = XAVS_frame, | 345 .encode = XAVS_frame, |
346 .close = XAVS_close, | 346 .close = XAVS_close, |