avcodec/dpx_parser: reset index when finding a startcode, not after
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 29 May 2014 15:08:53 +0000 (17:08 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 29 May 2014 15:18:47 +0000 (17:18 +0200)
commitf518fb33184b35b0cc5eb9354bbeb39a548ea41e
tree3b87123a0d96e88ef03ff2b2c4dea41f649a3faa
parent25e6310a3ec96ce991c73f50c411736f4c80de11
avcodec/dpx_parser: reset index when finding a startcode, not after

This is simpler

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/dpx_parser.c