avformat/rawvideodec: Rework packet size calculation
Calculate packet size only once, and propagate errors earlier in the chain. Also remove use of the deprecated av_image_get_buffer_size().
Showing
Please
register
or
sign in
to comment