aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-10-21 22:08:39 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-21 22:27:02 +0200
commit08d4408a905be98a76cf49965e59e6bfecbb7213 (patch)
treeff8f44ad34b84d8dda970df24ef21bccf344fe74
parentf73f68b8941176e61b821055af83d3be48adc711 (diff)
downloadffmpeg-08d4408a905be98a76cf49965e59e6bfecbb7213.tar.gz
utils: disable debuging code at the end of av_gen_search()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/utils.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 2ae0750b13..db27024904 100644
--- a/libavformat/utils.c
+++ b/libavformat/utils.c
@@ -1714,12 +1714,14 @@ 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 0
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;
}