diff libmpdemux/demux_rtp_codec.cpp @ 35715:8517826b0dbd

Replace CODEC_IDs their modern AV_-prefixed counterparts.
author diego
date Mon, 21 Jan 2013 19:44:53 +0000
parents f3d53cd55376
children f3c835ddce85
line wrap: on
line diff
--- a/libmpdemux/demux_rtp_codec.cpp	Mon Jan 21 19:44:49 2013 +0000
+++ b/libmpdemux/demux_rtp_codec.cpp	Mon Jan 21 19:44:53 2013 +0000
@@ -140,7 +140,7 @@
     int fooLen;
     const uint8_t* fooData;
     avcodec_register_all();
-    h264parserctx = av_parser_init(CODEC_ID_H264);
+    h264parserctx = av_parser_init(AV_CODEC_ID_H264);
     avcctx = avcodec_alloc_context3(NULL);
     // Pass the config to the parser
     h264parserctx->parser->parser_parse(h264parserctx, avcctx,