mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 20:19:55 +00:00
cosmetic updates as per Michael's suggestion
Originally committed as revision 15582 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
90d30402b4
commit
45580f8d4d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user