diff options
author | jstebbins <[email protected]> | 2010-11-07 16:33:29 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2010-11-07 16:33:29 +0000 |
commit | dfef4c517559d25853c9c89906863f641528029b (patch) | |
tree | fb97dd106a226a73b47a573fc8889adbc9543593 | |
parent | 2d54c1b563922337f00f857f4c233b858a73e79e (diff) |
Fix use of uninitialized variable in mpeg PS detection.
This could easily cause PS detection to fail.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3656 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | libhb/stream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/stream.c b/libhb/stream.c index d53bf4563..204baa7b0 100644 --- a/libhb/stream.c +++ b/libhb/stream.c @@ -390,7 +390,7 @@ static int hb_stream_check_for_ps(hb_stream_t *stream) { uint8_t buf[2048*4]; uint8_t sc_buf[4]; - int pos; + int pos = 0; int hits = 0; fseek(stream->file_handle, 0, SEEK_SET); |