summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2012-10-20 06:43:48 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-20 18:00:13 +0200
commit79393a8363d6bb9920754247df00f1b5259e6efd (patch)
treea8991d78db0652fc3b004ade2f3c3a0365f9fda3 /tools
parent2c5b92fe90463402be6bf611ef40195f86f434fd (diff)
downloadffmpeg-streaming-79393a8363d6bb9920754247df00f1b5259e6efd.zip
ffmpeg-streaming-79393a8363d6bb9920754247df00f1b5259e6efd.tar.gz
Replace usage of the deprecated av_pix_fmt_descriptors array with av_pix_fmt_desc_get
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tools')
-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