Mercurial > libavcodec.hg
comparison dvdata.h @ 8013:0eeb93cedecb libavcodec
cosmetic updates as per Michael's suggestion
| author | romansh |
|---|---|
| date | Tue, 07 Oct 2008 16:07:15 +0000 |
| parents | 8b39df76fe9a |
| children | 07d8986fbea7 |
comparison
equal
deleted
inserted
replaced
| 8012:8b39df76fe9a | 8013:0eeb93cedecb |
|---|---|
| 6401 return &dv_profiles[i]; | 6401 return &dv_profiles[i]; |
| 6402 | 6402 |
| 6403 return NULL; | 6403 return NULL; |
| 6404 } | 6404 } |
| 6405 | 6405 |
| 6406 static inline const DVprofile* dv_codec_profile(AVCodecContext* codec) | 6406 static const DVprofile* dv_codec_profile(AVCodecContext* codec) |
| 6407 { | 6407 { |
| 6408 int i; | 6408 int i; |
| 6409 | 6409 |
| 6410 for (i=0; i<sizeof(dv_profiles)/sizeof(DVprofile); i++) | 6410 for (i=0; i<sizeof(dv_profiles)/sizeof(DVprofile); i++) |
| 6411 if (codec->height == dv_profiles[i].height && codec->pix_fmt == dv_profiles[i].pix_fmt && | 6411 if (codec->height == dv_profiles[i].height && codec->pix_fmt == dv_profiles[i].pix_fmt && |
| 6412 codec->width == dv_profiles[i].width) | 6412 codec->width == dv_profiles[i].width) |
| 6413 return &dv_profiles[i]; | 6413 return &dv_profiles[i]; |
| 6414 | 6414 |
| 6415 return NULL; | 6415 return NULL; |
| 6416 } | 6416 } |
| 6417 | 6417 |
