]> git.sesse.net Git - ffmpeg/commit
lavf/dv: use c->sys->frame_size in dv_frame_offset()
authorClément Bœsch <u@pkh.me>
Sun, 20 Mar 2016 15:14:22 +0000 (16:14 +0100)
committerClément Bœsch <u@pkh.me>
Sun, 20 Mar 2016 18:28:15 +0000 (19:28 +0100)
commit8284a4ba11e2d8ca55e3222e5730bfa8d6cca940
tree710c4e6695d379698a9e40e308fbcce89fed0acf
parent6c0cf11f38f3306773401bf35174703cb4f12dd5
lavf/dv: use c->sys->frame_size in dv_frame_offset()

dv_frame_offset() is static and called only from dv_read_seek(), where
c->sys->frame_size is already used.

This simplifies the incoming codecpar merge where
avctx->{coded_width,coded_height,time_base} are not accessible anymore.
libavformat/dv.c