am7xxx-play: don't override return value when there is a usable one
authorAntonio Ospite <ao2@ao2.it>
Wed, 28 Feb 2018 11:43:33 +0000 (12:43 +0100)
committerAntonio Ospite <ao2@ao2.it>
Thu, 1 Mar 2018 14:33:27 +0000 (15:33 +0100)
commit7193dbf2d47df0d9e317d41543292004940cc047
treec058dc7f642c2f69ff49f8d64bcfd6a84d3f0338
parente41dc82604ddea054c5e454d40769cab3b07c6ff
am7xxx-play: don't override return value when there is a usable one

Don't override the avcodec_open2() return value, we can pass along the
negative return value as is to the caller.
examples/am7xxx-play.c