# HG changeset patch # User diego # Date 1284735766 0 # Node ID 4cd07921bec26fc865631341c4723509a460e491 # Parent e40d435554b60b7953301a03168094812bb916cb Rename preprocessor directives: CONFIG_LIBAVCODEC --> CONFIG_FFMPEG This is a leftover of the FFmpeg library check merge. diff -r e40d435554b6 -r 4cd07921bec2 libmpdemux/demux_rtp.cpp --- a/libmpdemux/demux_rtp.cpp Fri Sep 17 14:58:17 2010 +0000 +++ b/libmpdemux/demux_rtp.cpp Fri Sep 17 15:02:46 2010 +0000 @@ -119,7 +119,7 @@ int rtsp_transport_http = 0; #endif -#ifdef CONFIG_LIBAVCODEC +#ifdef CONFIG_FFMPEG extern AVCodecContext *avcctx; #endif @@ -397,7 +397,7 @@ delete rtpState->videoBufferQueue; delete[] rtpState->sdpDescription; delete rtpState; -#ifdef CONFIG_LIBAVCODEC +#ifdef CONFIG_FFMPEG av_freep(&avcctx); #endif @@ -535,7 +535,7 @@ if (dp == NULL) return NULL; } -#ifdef CONFIG_LIBAVCODEC +#ifdef CONFIG_FFMPEG extern AVCodecParserContext * h264parserctx; int consumed, poutbuf_size = 1; const uint8_t *poutbuf = NULL; @@ -566,7 +566,7 @@ if (headersize == 1) // amr dp->buffer[0] = ((AMRAudioSource*)bufferQueue->readSource())->lastFrameHeader(); -#ifdef CONFIG_LIBAVCODEC +#ifdef CONFIG_FFMPEG } else { bufferQueue->dp = dp = bufferQueue->nextpacket; bufferQueue->nextpacket = NULL;