Try to fix crashes introduced by r25218
authorJason Garrett-Glaser <darkshikari@gmail.com>
Tue, 28 Sep 2010 09:06:22 +0000 (09:06 +0000)
committerJason Garrett-Glaser <darkshikari@gmail.com>
Tue, 28 Sep 2010 09:06:22 +0000 (09:06 +0000)
commit4dece8c7f8255fb3c4ad9fb7fd25a8ba7692fd27
tree62a23753b1ec130d47e85281d962c2f31ec501c0
parent01d461980e3139f43961f8dad8ab2a61cb23a094
Try to fix crashes introduced by r25218

r25218 made assumptions about the existence of past reference frames that
weren't necessarily true.

Originally committed as revision 25243 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/h264.c