diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-06-10 20:27:50 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-06-13 23:02:28 +0200 |
commit | 35bdaf3d427b6856df01d41ee826bd515440ec46 (patch) | |
tree | be702e10fa74f1a22afe70961dcff97a89b8ec2f | |
parent | 38c304addd978410956c8ff02ea83a6ffb9a606a (diff) | |
download | ffmpeg-35bdaf3d427b6856df01d41ee826bd515440ec46.tar.gz |
utils: Drop pointless '#if 1' preprocessor directive.
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index d0fd0d46ff..60f4d03e4b 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -1577,14 +1577,12 @@ int64_t av_gen_search(AVFormatContext *s, int stream_index, int64_t target_ts, i pos = (flags & AVSEEK_FLAG_BACKWARD) ? pos_min : pos_max; ts = (flags & AVSEEK_FLAG_BACKWARD) ? ts_min : ts_max; -#if 1 pos_min = pos; ts_min = read_timestamp(s, stream_index, &pos_min, INT64_MAX); pos_min++; ts_max = read_timestamp(s, stream_index, &pos_min, INT64_MAX); av_dlog(s, "pos=0x%"PRIx64" %"PRId64"<=%"PRId64"<=%"PRId64"\n", pos, ts_min, target_ts, ts_max); -#endif *ts_ret= ts; return pos; } |