diff options
author | Martin Storsjö <martin@martin.st> | 2011-05-25 16:47:09 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2011-05-25 22:01:33 +0300 |
commit | 80068da3a0bafc7e24ce6b1f91cefec7d793b4d2 (patch) | |
tree | 0bdd2cd6504ab5ca3c3f5b81b530d8f16ab23029 /libavcodec/mpegaudio.c | |
parent | 48b1fb1397281dd16df909b6f33c2c36e5626f0a (diff) | |
download | ffmpeg-80068da3a0bafc7e24ce6b1f91cefec7d793b4d2.tar.gz |
avoptions: Return explicitly NAN or {0,0} if the option isn't found
This actually matches what av_get_double did earlier, the
0.0/0.0 division was intentional, for producing NAN.
Still keeping the check for the return value from
av_get_number, for clarity.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/mpegaudio.c')
0 files changed, 0 insertions, 0 deletions