cosmetic updates as per Michael's suggestion

Originally committed as revision 15582 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Roman Shaposhnik 2008-10-07 16:07:15 +00:00
parent 90d30402b4
commit 45580f8d4d

View File

@ -6403,13 +6403,13 @@ static inline const DVprofile* dv_frame_profile(const uint8_t* frame)
return NULL;
}
static inline const DVprofile* dv_codec_profile(AVCodecContext* codec)
static const DVprofile* dv_codec_profile(AVCodecContext* codec)
{
int i;
for (i=0; i<sizeof(dv_profiles)/sizeof(DVprofile); i++)
if (codec->height == dv_profiles[i].height && codec->pix_fmt == dv_profiles[i].pix_fmt &&
codec->width == dv_profiles[i].width)
codec->width == dv_profiles[i].width)
return &dv_profiles[i];
return NULL;