- use _AVCODECID_NONE instead of CODEC_ID_NONE

This commit is contained in:
Sune1337 2014-04-25 23:22:53 +02:00
parent 3155d621d0
commit 448d287240
1 changed files with 2 additions and 2 deletions

View File

@ -169,7 +169,7 @@ void VideoStream::SetupCodec( int colours, int subpixelorder, int width, int hei
// Not sure what this value should be really...
ofc->packet_size = width*height;
if ( of->video_codec == CODEC_ID_NONE)
if ( of->video_codec == _AVCODECID_NONE)
{
// RTP does not have a default codec in ffmpeg <= 0.8.
of->video_codec = CODEC_ID_MPEG4;
@ -268,7 +268,7 @@ void VideoStream::SetupCodec( int colours, int subpixelorder, int width, int hei
}
else
{
Fatal( "of->video_codec == CODEC_ID_NONE" );
Fatal( "of->video_codec == _AVCODECID_NONE" );
}
}