# HG changeset patch # User michael # Date 1159291528 0 # Node ID dac7743ba1eeb8f26925ed6825709b26d6c76d17 # Parent 142fb755fbf520860f7300eb8cbed6a200efa2fa dont ignore MAX_READ_SIZE diff -r 142fb755fbf5 -r dac7743ba1ee utils.c --- a/utils.c Tue Sep 26 17:09:03 2006 +0000 +++ b/utils.c Tue Sep 26 17:25:28 2006 +0000 @@ -1811,13 +1811,12 @@ ret = count; break; } - } else { + } /* we did not get all the codec info, but we read too much data */ if (read_size >= MAX_READ_SIZE) { ret = count; break; } - } /* NOTE: a new stream can be added there if no header in file (AVFMTCTX_NOHEADER) */