Mercurial > libavformat.hg
comparison electronicarts.c @ 2671:7f320fb9f1c9 libavformat
avoid infinite loop at the end of files which are not properly terminated
author | aurel |
---|---|
date | Wed, 24 Oct 2007 21:44:20 +0000 |
parents | 7e9a23c3f20d |
children | a9e2afed4aa7 |
comparison
equal
deleted
inserted
replaced
2670:7e9a23c3f20d | 2671:7f320fb9f1c9 |
---|---|
333 | 333 |
334 packet_read = 1; | 334 packet_read = 1; |
335 break; | 335 break; |
336 | 336 |
337 /* ending tag */ | 337 /* ending tag */ |
338 case 0: | |
338 case SCEl_TAG: | 339 case SCEl_TAG: |
339 ret = AVERROR(EIO); | 340 ret = AVERROR(EIO); |
340 packet_read = 1; | 341 packet_read = 1; |
341 break; | 342 break; |
342 | 343 |