Move aspect ratio 0/0 avoidance code so the values in the sps struct are not missed.
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 5 Oct 2010 01:43:25 +0000 (01:43 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 5 Oct 2010 01:43:25 +0000 (01:43 +0000)
commitcfa5a81ea672ac355afad88ea239f7ba5c3d72f0
tree88984a1df52b7de55e7ccb9ae66b54cb8557144d
parentc9b87628568a95e5c9fe788afa9534e809d32e0d
Move aspect ratio 0/0 avoidance code so the values in the sps struct are not missed.
This preempts issues with av_cmp_q(0/0, X)

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