mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-28 22:10:34 +00:00
Make avcodec_get_pix_fmt_name() use av_pix_fmt_descriptors rather than
pix_fmt_info. Originally committed as revision 20625 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
382cb1154c
commit
797229a6a2
@ -486,7 +486,7 @@ const char *avcodec_get_pix_fmt_name(enum PixelFormat pix_fmt)
|
||||
if (pix_fmt < 0 || pix_fmt >= PIX_FMT_NB)
|
||||
return NULL;
|
||||
else
|
||||
return pix_fmt_info[pix_fmt].name;
|
||||
return av_pix_fmt_descriptors[pix_fmt].name;
|
||||
}
|
||||
|
||||
static enum PixelFormat avcodec_get_pix_fmt_internal(const char *name)
|
||||
|
Loading…
Reference in New Issue
Block a user