]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/msrle.c
Another PIX_FMT_ ---> IMGFMT_ conversion
[ffmpeg] / libavcodec / msrle.c
index b318faa77f86f459921c7251828109bccc0029b9..7cdbf7c774f02eaccf1b335d273e5c8dfa9e71c2 100644 (file)
@@ -14,7 +14,7 @@
  *
  * You should have received a copy of the GNU Lesser General Public
  * License along with this library; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 /**
@@ -254,10 +254,6 @@ static int msrle_decode_frame(AVCodecContext *avctx,
 {
     MsrleContext *s = (MsrleContext *)avctx->priv_data;
 
-    /* no supplementary picture */
-    if (buf_size == 0)
-        return 0;
-
     s->buf = buf;
     s->size = buf_size;