lwlibav: Fix MPEG-1/2 Video picture type by actual decoding.

Also fix audio decoding was always used for getting audio frame length.