Mercurial > mplayer.hg
diff libvo/vo_png.c @ 35715:8517826b0dbd
Replace CODEC_IDs their modern AV_-prefixed counterparts.
author | diego |
---|---|
date | Mon, 21 Jan 2013 19:44:53 +0000 |
parents | 664152973dbc |
children | 797bbffdd112 |
line wrap: on
line diff
--- a/libvo/vo_png.c Mon Jan 21 19:44:49 2013 +0000 +++ b/libvo/vo_png.c Mon Jan 21 19:44:53 2013 +0000 @@ -133,7 +133,7 @@ avctx = avcodec_alloc_context3(NULL); avctx->compression_level = z_compression; avctx->pix_fmt = imgfmt2pixfmt(format); - if (avcodec_open2(avctx, avcodec_find_encoder(CODEC_ID_PNG), NULL) < 0) { + if (avcodec_open2(avctx, avcodec_find_encoder(AV_CODEC_ID_PNG), NULL) < 0) { uninit(); return -1; }