am7xxx-play: rename CODEC_FLAG_QSCALE to AV_CODEC_FLAG_QSCALE
authorAntonio Ospite <ao2@ao2.it>
Mon, 26 Feb 2018 10:03:13 +0000 (11:03 +0100)
committerAntonio Ospite <ao2@ao2.it>
Mon, 26 Feb 2018 10:03:13 +0000 (11:03 +0100)
commit0f5a391c4e6dfdc02bf1e5f09f6eb531b0ce403a
tree55525db9ea4188bbfd87d48593351d460da4aba5
parent0ff36a0da0e0a1d8936e050231bfad118d92606b
am7xxx-play: rename CODEC_FLAG_QSCALE to AV_CODEC_FLAG_QSCALE

In FFMpeg 3.5+ the unprefixed CODEC_* constants have been removed, only
the correspondent AV_CODEC_* ones are available.

This fixes a build failure:

  .../examples/am7xxx-play.c: In function 'video_output_init':
  .../examples/am7xxx-play.c:240:34: error: 'CODEC_FLAG_QSCALE' undeclared (first use in this function); did you mean 'AV_CODEC_FLAG_QSCALE'?
    output_codec_ctx->flags      |= CODEC_FLAG_QSCALE;
                                    ^~~~~~~~~~~~~~~~~
                                    AV_CODEC_FLAG_QSCALE
examples/am7xxx-play.c