diff options
author | Stefano Sabatini <stefasab@gmail.com> | 2012-09-24 18:18:56 +0200 |
---|---|---|
committer | Stefano Sabatini <stefasab@gmail.com> | 2012-09-25 09:20:57 +0200 |
commit | 4b370d6126ab74c6112e2c1edfad3f48ebcf08ad (patch) | |
tree | d20bc3b8202bac656d6323d27540e82e5a2d9d3d /libavcodec/golomb.c | |
parent | 4390f8c28daab9ac9f2c7b9164bdb79b3689d484 (diff) | |
download | ffmpeg-4b370d6126ab74c6112e2c1edfad3f48ebcf08ad.tar.gz |
ffprobe: rework checking logic in writer_print_time() and writer_print_rational()
Make writer_print_time() and writer_print_rational() always call
writer_print_int() or writer_print_string(). This way the checks for
determining if the value should be printed or not are consistently
performed in the low level functions.
writer_print_rational() is moved downward in order to avoid a forward
reference.
Simplify/amend the overall logic.
Diffstat (limited to 'libavcodec/golomb.c')
0 files changed, 0 insertions, 0 deletions