On 3/20/12, Paul B Mahol <[email protected]> wrote:
>
> Signed-off-by: Paul B Mahol <[email protected]>
> ---
> libavformat/westwood_vqa.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/libavformat/westwood_vqa.c b/libavformat/westwood_vqa.c
> index 9c881ba..41aa5d8 100644
> --- a/libavformat/westwood_vqa.c
> +++ b/libavformat/westwood_vqa.c
> @@ -112,6 +112,8 @@ static int wsvqa_read_header(AVFormatContext *s)
> st->codec->width = AV_RL16(&header[6]);
> st->codec->height = AV_RL16(&header[8]);
> fps = header[12];
> + st->nb_frames =
> + st->duration = AV_RL16(&header[4]);
> if (fps < 1 || fps > 30) {
> av_log(s, AV_LOG_ERROR, "invalid fps: %d\n", fps);
> return AVERROR_INVALIDDATA;
> --
> 1.7.7
>
>
Ping
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel