ref: 5ae7dc93b04122f19cbc09a2dbc89ac3f2e2a196
parent: c9f6395c3ef5f521c3813ca0c207754e4a059ba2
author: xiaotiansf <[email protected]>
date: Fri Feb 8 16:11:55 EST 2019
Fix Bugzilla reported bug 1526107.
--- a/codec/console/dec/src/h264dec.cpp
+++ b/codec/console/dec/src/h264dec.cpp
@@ -148,7 +148,7 @@
fseek (pH264File, 0L, SEEK_END);
iFileSize = (int32_t) ftell (pH264File);
- if (iFileSize <= 0) {
+ if (iFileSize <= 4) {
fprintf (stderr, "Current Bit Stream File is too small, read error!!!!\n");
goto label_exit;
}