changeset 3800:9b75ab171fa9 libavcodec

1l: correct argument order in avcodec_check_dimensions
author kostya
date Sun, 01 Oct 2006 05:09:20 +0000
parents 81638b2fbeba
children 203cd258fc20
files qdrw.c smacker.c truemotion2.c tscc.c vmnc.c zmbv.c
diffstat 6 files changed, 6 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/qdrw.c	Sat Sep 30 23:49:09 2006 +0000
+++ b/qdrw.c	Sun Oct 01 05:09:20 2006 +0000
@@ -136,7 +136,7 @@
 static int decode_init(AVCodecContext *avctx){
 //    QdrawContext * const a = avctx->priv_data;
 
-    if (avcodec_check_dimensions(avctx, avctx->height, avctx->width) < 0) {
+    if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) {
         return 1;
     }
 
--- a/smacker.c	Sat Sep 30 23:49:09 2006 +0000
+++ b/smacker.c	Sun Oct 01 05:09:20 2006 +0000
@@ -520,7 +520,7 @@
 
     c->pic.data[0] = NULL;
 
-    if (avcodec_check_dimensions(avctx, avctx->height, avctx->width) < 0) {
+    if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) {
         return 1;
     }
 
--- a/truemotion2.c	Sat Sep 30 23:49:09 2006 +0000
+++ b/truemotion2.c	Sun Oct 01 05:09:20 2006 +0000
@@ -822,7 +822,7 @@
     TM2Context * const l = avctx->priv_data;
     int i;
 
-    if (avcodec_check_dimensions(avctx, avctx->height, avctx->width) < 0) {
+    if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) {
         return -1;
     }
     if((avctx->width & 3) || (avctx->height & 3)){
--- a/tscc.c	Sat Sep 30 23:49:09 2006 +0000
+++ b/tscc.c	Sun Oct 01 05:09:20 2006 +0000
@@ -264,7 +264,7 @@
     c->pic.data[0] = NULL;
     c->height = avctx->height;
 
-    if (avcodec_check_dimensions(avctx, avctx->height, avctx->width) < 0) {
+    if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) {
         return 1;
     }
 
--- a/vmnc.c	Sat Sep 30 23:49:09 2006 +0000
+++ b/vmnc.c	Sun Oct 01 05:09:20 2006 +0000
@@ -467,7 +467,7 @@
     c->width = avctx->width;
     c->height = avctx->height;
 
-    if (avcodec_check_dimensions(avctx, avctx->height, avctx->width) < 0) {
+    if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) {
         return 1;
     }
     c->bpp = avctx->bits_per_sample;
--- a/zmbv.c	Sat Sep 30 23:49:09 2006 +0000
+++ b/zmbv.c	Sun Oct 01 05:09:20 2006 +0000
@@ -616,7 +616,7 @@
     c->width = avctx->width;
     c->height = avctx->height;
 
-    if (avcodec_check_dimensions(avctx, avctx->height, avctx->width) < 0) {
+    if (avcodec_check_dimensions(avctx, avctx->width, avctx->height) < 0) {
         return 1;
     }
     c->bpp = avctx->bits_per_sample;