summaryrefslogtreecommitdiffstats
path: root/tools/fourcc2pixfmt.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/fourcc2pixfmt.c')
-rw-r--r--tools/fourcc2pixfmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/fourcc2pixfmt.c b/tools/fourcc2pixfmt.c
index 6ee085b..8ea6c37 100644
--- a/tools/fourcc2pixfmt.c
+++ b/tools/fourcc2pixfmt.c
@@ -98,7 +98,7 @@ int main(int argc, char **argv)
if (list_pix_fmt_fourccs) {
for (i = 0; i < AV_PIX_FMT_NB; i++) {
- const AVPixFmtDescriptor *pix_desc = &av_pix_fmt_descriptors[i];
+ const AVPixFmtDescriptor *pix_desc = av_pix_fmt_desc_get(i);
if (!pix_desc->name || pix_desc->flags & PIX_FMT_HWACCEL)
continue;
printf("%s: ", pix_desc->name);
OpenPOWER on IntegriCloud