* Add default cases to switch statements.
authorPhilip Gladstone <philipjsg@users.sourceforge.net>
Thu, 9 May 2002 01:16:08 +0000 (01:16 +0000)
committerPhilip Gladstone <philipjsg@users.sourceforge.net>
Thu, 9 May 2002 01:16:08 +0000 (01:16 +0000)
Originally committed as revision 460 to svn://svn.ffmpeg.org/ffmpeg/trunk

libav/avienc.c

index 43482d0..2290600 100644 (file)
@@ -247,6 +247,8 @@ static int avi_write_header(AVFormatContext *s)
             put_le32(pb, 0);
             put_le32(pb, 0);
             break;
             put_le32(pb, 0);
             put_le32(pb, 0);
             break;
+        default:
+            abort();
         }
         end_tag(pb, strh);
 
         }
         end_tag(pb, strh);
 
@@ -261,6 +263,8 @@ static int avi_write_header(AVFormatContext *s)
                 return -1;
             }
             break;
                 return -1;
             }
             break;
+        default:
+            abort();
         }
         end_tag(pb, strf);
         end_tag(pb, list2);
         }
         end_tag(pb, strf);
         end_tag(pb, list2);